[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:53:54 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions h -- clang/lib/Index/IndexingContext.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Index/IndexingContext.h b/clang/lib/Index/IndexingContext.h
index 3d0606bac..b9dd9b9a6 100644
--- a/clang/lib/Index/IndexingContext.h
+++ b/clang/lib/Index/IndexingContext.h
@@ -44,7 +44,8 @@ class IndexingContext {
 
 public:
   IndexingContext(IndexingOptions IndexOpts, IndexDataConsumer &DataConsumer);
-  // Defaulted, but defined out of line to avoid a dependency on HeuristicResolver.h.
+  // 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