ClangCodeModel: Make use of new semantic token in clangd

... for angle brackets.
See https://reviews.llvm.org/D139926.

Change-Id: I17be843005e290a8aec91573d9ed4bd0727e2dab
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2022-07-19 15:00:07 +02:00
parent df3e7e5bdd
commit be9a01252d
2 changed files with 125 additions and 120 deletions

View File

@@ -1358,14 +1358,6 @@ void ClangdTestHighlighting::test()
"check if and how we want to support this", Abort);
QEXPECT_FAIL("old-style signal with complex parameter (signal parameter part 3)",
"check if and how we want to support this", Abort);
QEXPECT_FAIL("function template specialization (opening angle bracket 1)",
"specialization appears as a normal function in the AST", Abort);
QEXPECT_FAIL("function template specialization (closing angle bracket 1)",
"specialization appears as a normal function in the AST", Abort);
QEXPECT_FAIL("function template specialization (opening angle bracket 2)",
"specialization appears as a normal function in the AST", Abort);
QEXPECT_FAIL("function template specialization (closing angle bracket 2)",
"specialization appears as a normal function in the AST", Abort);
QCOMPARE(results.length(), 1);