ClangCodeModel: Ignore boolean and pointer literals

... when doing semantic highlighting. The syntax highlighter already
handles these.

Change-Id: I048e033eda5b72d2e6eafaaccdb66040a00afe6a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2023-01-31 18:02:08 +01:00
parent f952918390
commit c31522731c
4 changed files with 16 additions and 7 deletions

View File

@@ -5,3 +5,10 @@ auto func()
R"notaprefix!(
barfoobar)" R"(second)" /* comment */ R"(third)";
}
void keywords()
{
bool b1 = true;
bool b2 = false;
void *p = nullptr;
}