[clang-tools-extra] [clangd] Unify IndexAction callbacks into one (PR #178132)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 28 07:39:27 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list