[PATCH] D139926: [clangd] Add semantic token for angle brackets
Christian Kandeler via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 07:14:00 PST 2023
ckandeler added a comment.
In D139926#4076057 <https://reviews.llvm.org/D139926#4076057>, @nridge wrote:
> One other thought that has occurred to me is that as we add more semantic tolens for punctuation, the test cases in `GetsCorrectTokens` become harder to read.
>
> What would you think about omitting punctuation tokens in the `GetsCorrectTokens` test cases (both `Operator` and `Bracket`, and any future ones), similarly to the way we already omit scope modifiers like `_classScope`, and have another test case like `GetsCorrectPunctuationTokens` where we put specifically test cases that test for punctuation tokens?
I suppose that's an option, but I don't have a strong opinion on this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139926/new/
https://reviews.llvm.org/D139926
More information about the cfe-commits
mailing list