Directly traverse ConceptReferences in FindTarget.cpp.
There is no need for the extra logic for AutoTypeLocs in SemanticHightlighting.cpp as the concept information is stored in a ConceptReference which is now traversed.
Paths
| Differential D159268
[c++20][clangd] Simplify code using the new `ConceptReference` nodes. ClosedPublic Authored by massberg on Aug 31 2023, 4:25 AM.
Details Summary Directly traverse ConceptReferences in FindTarget.cpp. There is no need for the extra logic for AutoTypeLocs in SemanticHightlighting.cpp as the concept information is stored in a ConceptReference which is now traversed.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 31 2023, 4:36 AM massberg marked an inline comment as done. Comment ActionsUse VisitConceptReference instead of TraverseConceptReference This revision was landed with ongoing or failed builds.Aug 31 2023, 4:56 AM Closed by commit rGc39dcd2c2bc7: [c++20][clangd] Simplify code using the new `ConceptReference` nodes. (authored by massberg). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 554985 clang-tools-extra/clangd/FindTarget.cpp
clang-tools-extra/clangd/SemanticHighlighting.cpp
|
I think this can just be VisitConceptReference, then no need to call into base