[all-commits] [llvm/llvm-project] bbddbe: [clangd] Add semantic token for angle brackets
ckandeler via All-commits
all-commits at lists.llvm.org
Tue Jan 31 08:15:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bbddbe580bca5fa1c0478a3ec6edd0e0c40b9d96
https://github.com/llvm/llvm-project/commit/bbddbe580bca5fa1c0478a3ec6edd0e0c40b9d96
Author: Christian Kandeler <christian.kandeler at qt.io>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/clangd/SemanticHighlighting.h
M clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Log Message:
-----------
[clangd] Add semantic token for angle brackets
This is needed for clients that would like to visualize matching
opening and closing angle brackets, which can be valuable in non-trivial
template declarations or instantiations.
It is not possible to do this with simple lexing, as the tokens
could also refer to operators.
Reviewed By: kadircet
Differential Revision: https://reviews.llvm.org/D139926
More information about the All-commits
mailing list