[PATCH] D93029: [clangd] Find relations in Dex exploration tool.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 06:33:55 PST 2020


hokein added inline comments.


================
Comment at: clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp:304
+    Index->relations(Req, [](const SymbolID &SID, const Symbol &S) {
+      llvm::outs() << S << " defined at: " << S.Definition << "\n";
+    });
----------------
I think dumping the whole symbol (  `toYAML(S)`) will give us more useful information


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93029



More information about the cfe-commits mailing list