diff options
author | Ivan Donchevskii <[email protected]> | 2017-12-05 09:42:35 +0100 |
---|---|---|
committer | Ivan Donchevskii <[email protected]> | 2017-12-11 15:00:24 +0000 |
commit | affc652b7b473191c5450bc75e983e7c86bc89e9 (patch) | |
tree | c6cf08f19d8daf804ab4a09b96254bbf63c984ba /src/plugins/clangcodemodel/clangbackendreceiver.cpp | |
parent | b1bb6d9641f344ee053618e6c461d5897ce5fe6c (diff) |
Clang: Rename HighlightingMark to TokenInfo
Before adding additional members into that class it
makes sense to rename it to better represent its content.
Other classes serving the same purpose are also renamed
to keep the names consistent.
Change-Id: I3c8517e42aae29779d71ec9c85b713cff581a473
Reviewed-by: Nikolai Kosjar <[email protected]>
Diffstat (limited to 'src/plugins/clangcodemodel/clangbackendreceiver.cpp')
-rw-r--r-- | src/plugins/clangcodemodel/clangbackendreceiver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/clangcodemodel/clangbackendreceiver.cpp b/src/plugins/clangcodemodel/clangbackendreceiver.cpp index c9bea084258..69bea4fa008 100644 --- a/src/plugins/clangcodemodel/clangbackendreceiver.cpp +++ b/src/plugins/clangcodemodel/clangbackendreceiver.cpp @@ -181,7 +181,7 @@ void BackendReceiver::documentAnnotationsChanged(const DocumentAnnotationsChange { qCDebug(log) << "<<< DocumentAnnotationsChangedMessage with" << message.diagnostics().size() << "diagnostics" - << message.highlightingMarks().size() << "highlighting marks" + << message.tokenInfos().size() << "highlighting marks" << message.skippedPreprocessorRanges().size() << "skipped preprocessor ranges"; auto processor = ClangEditorDocumentProcessor::get(message.fileContainer().filePath()); @@ -195,7 +195,7 @@ void BackendReceiver::documentAnnotationsChanged(const DocumentAnnotationsChange processor->updateCodeWarnings(message.diagnostics(), message.firstHeaderErrorDiagnostic(), documentRevision); - processor->updateHighlighting(message.highlightingMarks(), + processor->updateHighlighting(message.tokenInfos(), message.skippedPreprocessorRanges(), documentRevision); } |