================ @@ -25,6 +26,17 @@ static bool isGeneratedDecl(const Decl *D) { return false; } +IndexingContext::IndexingContext(IndexingOptions IndexOpts, + IndexDataConsumer &DataConsumer) + : IndexOpts(IndexOpts), DataConsumer(DataConsumer) {} + +IndexingContext::~IndexingContext() = default; ---------------- HighCommander4 wrote:
That's right; the motivation is to avoid unnecessary header dependencies (e.g. `IndexingContext.h` including `HeuristicResolver.h`), to limit incremental rebuild times when a header is modified. I'm happy to add a comment. https://github.com/llvm/llvm-project/pull/125153 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits