[clang] [clang][Index] Add comment about out-of-line defaulted destructor (PR #138640)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Mon May 5 23:51:32 PDT 2025
https://github.com/HighCommander4 created https://github.com/llvm/llvm-project/pull/138640
None
>From eeeb71e72e3d5e9da5227b0f2f1d6e870e393a7c Mon Sep 17 00:00:00 2001
From: Nathan Ridge <zeratul976 at hotmail.com>
Date: Tue, 6 May 2025 02:50:47 -0400
Subject: [PATCH] [clang][Index] Add comment about out-of-line defaulted
destructor
---
clang/lib/Index/IndexingContext.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/lib/Index/IndexingContext.h b/clang/lib/Index/IndexingContext.h
index 01bfcb9d578bc..3d0606bac90c3 100644
--- a/clang/lib/Index/IndexingContext.h
+++ b/clang/lib/Index/IndexingContext.h
@@ -44,6 +44,7 @@ class IndexingContext {
public:
IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer);
+ // Defaulted, but defined out of line to avoid a dependency on HeuristicResolver.h.
~IndexingContext();
const IndexingOptions &getIndexOpts() const { return IndexOpts; }
More information about the cfe-commits
mailing list