Clang: Fix output arguments highlighting for constructor parameters

The are not any more shown but they are still not shown for constructor
arguments because libClang is providing the wrong argument count.

Task-number: QTCREATORBUG-21543
Change-Id: If9b6140ed4b2dedf71bd94aae0a97669cdd04e67
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-11-22 14:37:51 +01:00
parent a84a851814
commit 15df73a8ba
3 changed files with 30 additions and 3 deletions

View File

@@ -548,9 +548,6 @@ void TokenInfo::punctuationOrOperatorKind()
// case CXCursor_CXXDeleteExpr:
overloadedOperatorKind();
break;
case CXCursor_Constructor:
collectOutputArguments(m_originalCursor);
break;
case CXCursor_UnaryOperator:
case CXCursor_BinaryOperator:
case CXCursor_CompoundAssignOperator: