aboutsummaryrefslogtreecommitdiffstats
path: root/dist/clang/patches/README.md
blob: 517df553b395d6b723dba9e7cabd834337aa05a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Extra patches to LLVM/Clang 5.0
===============================

The patches in this directory are applied to LLVM/Clang with:

    $ cd $LLVM_SOURCE_DIR
    $ git apply --whitespace=fix $QT_CREATOR_SOURCE/dist/clang/patches/*.patch

Backported changes
------------------

##### 110_D41016_Fix-crash-in-unused-lambda-capture-warning-for-VLAs.patch

* <https://reviews.llvm.org/D41016>

[Sema] Fix crash in unused-lambda-capture warning for VLAs

##### 010_D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch

* <https://reviews.llvm.org/D35355>

Fixes completion involving templated type alias.

##### 120_D41688_Fix-crash-on-code-completion-in-comment-in-included-file.patch

* <https://reviews.llvm.org/D41688>

[Lex]  Fix crash on code completion in comment in included file.

##### 100_D40841_Fix-a-crash-on-C++17-AST-for-non-trivial-construction-into-a-trivial-brace-initialize.patch

* <https://reviews.llvm.org/D40841>

[analyzer] Fix a crash on C++17 AST for non-trivial construction into a trivial brace initializer.

##### 090_D40746_Correctly-handle-line-table-entries-without-filenames-during-AST-serialization.patch

* <https://reviews.llvm.org/D40746>

Correctly handle line table entries without filenames during AST serialization
Fixes crash during a reparse.

##### 050_D40027_Fix-cursors-for-in-class-initializer-of-field-declarations.patch

* <https://reviews.llvm.org/D40027>
* <https://bugs.llvm.org/show_bug.cgi?id=33745>

[libclang] Fix cursors for in-class initializer of field declarations
Fixes AST access to initializers of class members. Affects mostly semantic highlighting and highlighting of local uses.

##### 070_D40561_Fix-cursors-for-functions-with-trailing-return-type.patch

* <https://reviews.llvm.org/D40561>

[libclang] Fix cursors for functions with trailing return type

##### 060_D40072_Support-querying-whether-a-declaration-is-invalid.patch

* <https://reviews.llvm.org/D40072>

[libclang] Add support for checking abstractness of records
Would need https://codereview.qt-project.org/#/c/211497/ on Qt Creator side.

##### 040_D39957_Honor-TerseOutput-for-constructors.patch

* <https://reviews.llvm.org/D39957>

[DeclPrinter] Honor TerseOutput for constructors
Avoids printing member initialization list and body for constructor.

##### 080_D40643_Add-function-to-get-the-buffer-for-a-file.patch

* <https://reviews.llvm.org/D40643>
* <https://reviews.llvm.org/rL319881>

[libclang] Add function to get the buffer for a file
Together with https://codereview.qt-project.org/#/c/212972/ fixes highlighting

##### 030_D38615_Only-mark-CXCursors-for-explicit-attributes-with-a-type.patch

* <https://reviews.llvm.org/D38615>

[libclang] Only mark CXCursors for explicit attributes with a type
Some classes have totally broken highlighting (like classes inside texteditor.cpp)

##### 170_D40013_DeclPrinter-Allow-printing-fully-qualified-name.patch
##### 180_D39903_libclang-Allow-pretty-printing-declarations.patch

* <https://reviews.llvm.org/D40013>
* <https://reviews.llvm.org/D39903>

[DeclPrinter] Allow printing fully qualified name of function declaration
[libclang] Allow pretty printing declarations

Improves pretty printing for tooltips.

Additional changes
------------------

##### 160_QTCREATORBUG-15449_Fix-files-lock-on-Windows.patch

* <https://reviews.llvm.org/D35200>
* <https://bugreports.qt.io/browse/QTCREATORBUG-15449>

Significantly reduces problems when saving a header file on Windows.

##### 150_QTCREATORBUG-15157_Link-with-clazy_llvm.patch
##### 130_QTCREATORBUG-15157_Link-with-clazy_clang.patch
##### 140_QTCREATORBUG-15157_Link-with-clazy_extra.patch

* <https://bugreports.qt.io/browse/QTCREATORBUG-15157>

Builds Clazy as an LLVM part and forces link for Clazy plugin registry entry.