I forgot that they must be relative to LLVM folder.
Also one patch had a typo and therefore is updated here.
Change-Id: I35241db84c0aa394211dfc7b4d779f8dfac5326a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Clang built with this patch properly handles
not only normal methods but also templated ones
which fixes code completion for QObject::connect.
Change-Id: If1c4c0f5fda29c1aff106d8ed7065ff502a26328
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
With this patch ClangCodeModel can properly
handle static overloads together with non-static ones.
Code completion still might crash - requires another patch.
Task-number: QTCREATORBUG-19184
Change-Id: I12f0e8cb56b3bed3f5ca1f7a9fe4ca3932b78125
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
...to provide some more natural way of appending/inserting new ones at a
specific position. The enumeration also helps to communicate about the
patches.
Change-Id: I8ac911269a11d24a46920c81cd3231c06b94b828
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Ensure that CINDEX_VERSION_MINOR is never increased and that instead
specific macros indicate backported functionality. This minimizes
potential build problems with other API functions that might have been
backported or not in the meanwhile.
Change-Id: I44d868e82dd6a3ea5aa3e8b22e18bba5c4bf8d16
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Clazy will now be a part of clang-tools-extra during
the build process which will allow to build clang one time.
Change-Id: Id506db267f4a1f0f0e8351ba21f1bc70a4555556
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
When Clazy is installed in lib64 folder instead of lib.
Change-Id: Ifb24e09c307dab2dd2f5121bf44a17a357c1a212
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Set QTC_CLANG_PLUGINS_LOAD env variable to get diagnostics
that come from libclang plugins.
This functionality works after the patch is applied to
clang repository and clang is properly built with it.
Task-number: QTCREATORBUG-15157
Change-Id: Iefeee4dd115f3f43ddc6ed79452a1135e653def6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Remove a bunch of on-top patches that are already part of llvm/clang 5.
Rebase the remaining ones and add backported ones.
Add also a README providing more information about the patches.
Task-number: QTCREATORBUG-18824
Task-number: QTCREATORBUG-17769
Change-Id: I9f6904b2e6d7c83de175e7b8c194e1a494cd2571
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This improves reparses for big header files significantly. The second
patch fixes invalid diagnostics associated with the new behavior.
Change-Id: I1606cff0164c69994e82c02766f955196d43953a
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Patch provides faster preamble loading by improving the handling of
diagnostics.
Change-Id: I61a79160e0272335d6d4e76478a7a35760cdf9ef
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This clang patch makes llvm avoid using memory map
which makes llvm work without locking files.
Without that patch the user is sometimes unable to
save files in qt creator.
Task-number: QTCREATORBUG-15449
Change-Id: Iab77a758174d153f860edb2f419b6ab767571964
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
It was for llvm/clang >= 4.0, but we are still on 3.9 for now.
Change-Id: I29338b6ed90b3ac4f32021085139e6917fd5ac9e
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
MSVC seems to have problems linking llvm-tblgen.exe with debug and release
libraries.
Change-Id: Ic7cd120f2bb19f762e656de565ebc3c98bbd750c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>