diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-12 12:15:12 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-04-13 11:36:12 +0000 |
commit | b795b42980d24b8c3febb7d9c7c1fd6b6ff1ba9a (patch) | |
tree | 13f56f1e4e20a720ee3f696528a41b583b41cd1f /src/plugins/cppeditor/clangdiagnosticconfig.h | |
parent | 8fb258b85e82e2d520d1ae20226c3f89af22d019 (diff) | |
download | qt-creator-b795b42980d24b8c3febb7d9c7c1fd6b6ff1ba9a.tar.gz |
CppEditor: More special rendering for string literals
Display prefixes and suffixes different from the actual string, like we
already did for raw string literals.
This uncovered some minor bugs in both lexer and highlighter:
- Wrong length for a setFormat() call in highlightRawStringLiteral()
- Missing check for user-defined literal in raw string literals
- Missing check for user-defined literal in multi-line strings
Fixes: QTCREATORBUG-28869
Change-Id: I018717c50ddc1d09c609556161c85dfb0cc29fab
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/clangdiagnosticconfig.h')
0 files changed, 0 insertions, 0 deletions