hokein added a comment. I like where the patch is going now.
================ Comment at: clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp:67 + // XXX this is just to make running the tool fast during dev! + bool BeginInvocation(CompilerInstance &CI) override { + const auto &Inputs = CI.getInvocation().getFrontendOpts().Inputs; ---------------- It is fine for debugging, but I think we don't want this behavior by default. global-symbol-builder also supports running a single TU (`global-symbol-builder /path/to/file`), which is sufficient for debugging, I think? ================ Comment at: clangd/index/Index.h:131 SymbolLocation CanonicalDeclaration; + SymbolLocation Definition; ---------------- We might want to update the comment above. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D42942 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits