[all-commits] [llvm/llvm-project] 2bf960: [clangd] Add "usedAsMutablePointer" highlighting m...
ckandeler via All-commits
all-commits at lists.llvm.org
Mon Nov 7 02:58:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2bf960aef08e93d687f21e6d636186561b56cbf3
https://github.com/llvm/llvm-project/commit/2bf960aef08e93d687f21e6d636186561b56cbf3
Author: Christian Kandeler <christian.kandeler at qt.io>
Date: 2022-11-07 (Mon, 07 Nov 2022)
Changed paths:
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/clangd/SemanticHighlighting.h
M clang-tools-extra/clangd/test/initialize-params.test
M clang-tools-extra/clangd/test/semantic-tokens.test
M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Log Message:
-----------
[clangd] Add "usedAsMutablePointer" highlighting modifier
Counterpart to "usedAsMutableReference". Just as for references, there
are const and non-const pointer parameters, and it's valuable to be able
to have different highlighting for the two cases at the call site.
We could have re-used the existing modifier, but having a dedicated one
maximizes client flexibility.
Reviewed By: nridge
Differential Revision: https://reviews.llvm.org/D130015
More information about the All-commits
mailing list