[PATCH] D68124: [clangd] Fix template type aliases in findExplicitReference

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 27 02:30:44 PDT 2019


kadircet added inline comments.


================
Comment at: clang-tools-extra/clangd/FindTarget.cpp:478
+          explicitReferenceTargets(DynTypedNode::create(L.getType()),
+                                   DeclRelation::Alias)};
     }
----------------
can you explain why these two are special and get to keep `Alias` decls? Whereas the others dont?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68124/new/

https://reviews.llvm.org/D68124





More information about the cfe-commits mailing list