[PATCH] D139926: [clangd] Add semantic token for angle brackets
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 27 01:01:48 PST 2023
nridge added a comment.
In D139926#4084856 <https://reviews.llvm.org/D139926#4084856>, @nridge wrote:
> In D139926#4084854 <https://reviews.llvm.org/D139926#4084854>, @ckandeler wrote:
>
>> I would have expected these to be handled by VisitDeclRefExpr(), but they aren't. Any idea?
>
> There are two other expression types, `DependentScopeDeclRefExpr` and `CXXDependentScopeMemberExpr`, which are used to model decl-ref-exprs where the referent decl cannot be resolved until instantiation.
Oh and the non-dependent `a.mem<int>` one is `MemberExpr`
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