================
@@ -161,9 +157,8 @@ class IndexAction : public ASTFrontendAction {
   std::unique_ptr<ASTConsumer>
   CreateASTConsumer(CompilerInstance &CI, llvm::StringRef InFile) override {
     PI->record(CI.getPreprocessor());
-    if (IncludeGraphCallback != nullptr)
----------------
kadircet wrote:

i think this is fine, and probably a residue as we were gradually rolling 
include-graph out. we accumulate this information per-tu, and discard after 
indexing. moreover clangd-indexer isn't a long lived process like clangd.

https://github.com/llvm/llvm-project/pull/178132
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to