forked from qt-creator/qt-creator
Clang: Add CLANG-UPGRADE-CHECK marker
...for things to watch out on an upgrade. Change-Id: I75b77a3c8fa238939b625d084c7db220ab429319 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -161,6 +161,7 @@ void HighlightingMark::overloadedDeclRefKind(const Cursor &cursor)
|
||||
{
|
||||
types.mainHighlightingType = HighlightingType::Function;
|
||||
|
||||
// CLANG-UPGRADE-CHECK: Workaround still needed?
|
||||
// Workaround https://bugs.llvm.org//show_bug.cgi?id=33256 - SomeType in
|
||||
// "using N::SomeType" is mistakenly considered as a CXCursor_OverloadedDeclRef.
|
||||
if (cursor.overloadedDeclarationsCount() >= 1
|
||||
|
||||
Reference in New Issue
Block a user