[PATCH] D81845: [clangd] Support typeHierarchy/resolve for children of parents as well
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 15 08:41:07 PDT 2020
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/XRefs.cpp:1233
+ llvm::SmallString<32> USR;
+ if (!index::generateUSRForDecl(&ND, USR)) {
+ THI.data = SymbolID(USR).str();
----------------
nit: use getSymbolID from AST.h instead
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81845/new/
https://reviews.llvm.org/D81845
More information about the cfe-commits
mailing list