kadircet added inline comments.
Comment at: clang-tools-extra/clangd/XRefs.cpp:291
+ // (This exception matches the spirit of our indexing heuristics).
+ if (/*PreferDef=*/[&] {
+if (Def == TD)
can we extract all of this into a `const TagDecl* g
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added a subscriber: arphaman.
Herald added a project: All.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
This means