[clang] [clang][Index] Add comment about out-of-line defaulted destructor (PR #138640)
via cfe-commits
cfe-commits at lists.llvm.org
Mon May 5 23:52:10 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Nathan Ridge (HighCommander4)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/138640.diff
1 Files Affected:
- (modified) clang/lib/Index/IndexingContext.h (+1)
``````````diff
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; }
``````````
</details>
https://github.com/llvm/llvm-project/pull/138640
More information about the cfe-commits
mailing list