[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-02-06 Thread Nathan Ridge via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG6c4691391419: [clangd] Semantic highlighting for constrained-parameter (authored by nridge). Repository: rG LLVM Github Monorepo CHANGES SINCE LA

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-02-06 Thread Nathan Ridge via Phabricator via cfe-commits
nridge updated this revision to Diff 495015. nridge added a comment. address review comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142871/new/ https://reviews.llvm.org/D142871 Files: clang-tools-extra/clangd/FindTarget.cpp clang-tools-e

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-02-06 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet accepted this revision. kadircet added inline comments. This revision is now accepted and ready to land. Comment at: clang-tools-extra/clangd/FindTarget.cpp:1047 + bool TraverseTypeConstraint(const TypeConstraint *TC) { +Out(ReferenceLoc{TC->getNestedNameSpecifier

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-02-01 Thread Nathan Ridge via Phabricator via cfe-commits
nridge added a comment. Also filed https://github.com/llvm/llvm-project/issues/60469 for the seemingly missing RecursiveASTVisitor methods Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142871/new/ https://reviews.llvm.org/D142871

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-02-01 Thread Nathan Ridge via Phabricator via cfe-commits
nridge updated this revision to Diff 494172. nridge added a comment. Address review comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142871/new/ https://reviews.llvm.org/D142871 Files: clang-tools-extra/clangd/FindTarget.cpp clang-tools-e

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-01-31 Thread Sam McCall via Phabricator via cfe-commits
sammccall added inline comments. Comment at: clang-tools-extra/clangd/FindTarget.cpp:720 + // Pick up the name via VisitNamedDecl + Base::VisitTemplateTypeParmDecl(D); +} kadircet wrote: > nridge wrote: > > Am I using the API correctly here? It's a

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-01-31 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet added a subscriber: usaxena95. kadircet added inline comments. Comment at: clang-tools-extra/clangd/FindTarget.cpp:720 + // Pick up the name via VisitNamedDecl + Base::VisitTemplateTypeParmDecl(D); +} nridge wrote: > Am I using the API corr

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-01-30 Thread Nathan Ridge via Phabricator via cfe-commits
nridge added inline comments. Comment at: clang-tools-extra/clangd/FindTarget.cpp:720 + // Pick up the name via VisitNamedDecl + Base::VisitTemplateTypeParmDecl(D); +} Am I using the API correctly here? It's a bit weird that `ConstDeclVisitor` woul

[PATCH] D142871: [clangd] Semantic highlighting for constrained-parameter

2023-01-30 Thread Nathan Ridge via Phabricator via cfe-commits
nridge created this revision. nridge added a reviewer: kadircet. Herald added a subscriber: arphaman. Herald added a project: All. nridge requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra. Repository: rG LL