diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-11-15 13:35:38 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-02-01 14:12:58 +0000 |
commit | 4f20c0d4edef1d20c3321d375c7083b7b481fab3 (patch) | |
tree | d707950c70070a69ac7f3c46a7a7e12fb2664aad /src/tools/clangbackend/source/cursor.h | |
parent | 28d0a5e5374e1067ff111aa1af0e791bf4411236 (diff) |
Clang: Highlight invalid declarations as text
...instead of the corresponding declaration color.
Task-number: QTCREATORBUG-18686
Change-Id: Ice4d84816351af79efa286f49516c392bd80da86
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/tools/clangbackend/source/cursor.h')
-rw-r--r-- | src/tools/clangbackend/source/cursor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clangbackend/source/cursor.h b/src/tools/clangbackend/source/cursor.h index bef5a006f4f..a2b5107f806 100644 --- a/src/tools/clangbackend/source/cursor.h +++ b/src/tools/clangbackend/source/cursor.h @@ -61,6 +61,7 @@ public: bool isStaticMethod() const; bool isCompoundType() const; bool isDeclaration() const; + bool isInvalidDeclaration() const; bool isLocalVariable() const; bool isReference() const; bool isExpression() const; |