diff options
author | Marco Bubke <marco.bubke@qt.io> | 2016-11-23 16:10:20 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2016-11-24 16:54:01 +0000 |
commit | 9dfa2100111d52ebdc5ea541ce201274dff70db8 (patch) | |
tree | ad6c5a7b42bd7559ff8f156b03552d2fd0c440cd /src/tools | |
parent | 99097d011ee6c10f4a1d77777a6ede5e4fe39572 (diff) | |
download | qt-creator-9dfa2100111d52ebdc5ea541ce201274dff70db8.tar.gz |
Clang: Partial fix for highlighting off output arguments
We get the source range for the parameter list and not the arguments
in the initializer list back. So we have to disable the test case.
Task-number: QTCREATORBUG-17101
Change-Id: I65ec6d111766b5728a951b024576cbf777c89728
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/clangbackend/ipcsource/highlightingmark.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clangbackend/ipcsource/highlightingmark.cpp b/src/tools/clangbackend/ipcsource/highlightingmark.cpp index e903a1d2d3..003241386d 100644 --- a/src/tools/clangbackend/ipcsource/highlightingmark.cpp +++ b/src/tools/clangbackend/ipcsource/highlightingmark.cpp @@ -363,6 +363,7 @@ HighlightingType HighlightingMark::punctuationKind(const Cursor &cursor) { switch (cursor.kind()) { case CXCursor_DeclRefExpr: return operatorKind(cursor); + case CXCursor_Constructor: case CXCursor_CallExpr: collectOutputArguments(cursor); default: return HighlightingType::Invalid; } |