Files
qt-creator/dist/clang/patches/README.md

104 lines
3.3 KiB
Markdown
Raw Normal View History

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
------------------
##### 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
##### D35355_Fix-templated-type-alias-completion-when-using-global-completion-cache.patch
* <https://reviews.llvm.org/D35355>
Fixes completion involving templated type alias.
##### 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.
##### 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.
##### 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.
##### 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.
##### D40561_Fix-cursors-for-functions-with-trailing-return-type.patch
* <https://reviews.llvm.org/D40561>
[libclang] Fix cursors for functions with trailing return type
##### 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.
##### 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.
##### 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
##### 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)
Additional changes
------------------
##### 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.
##### QTCREATORBUG-15157_Link-with-clazy_llvm.patch
##### QTCREATORBUG-15157_Link-with-clazy_clang.patch
##### 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.