Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[clang][Index] Add comment about out-of-line defaulted destructor #138640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

HighCommander4
Copy link
Collaborator

No description provided.

@HighCommander4 HighCommander4 requested a review from shafik May 6, 2025 06:51
@HighCommander4
Copy link
Collaborator Author

Per discussion at #125153 (comment)

@llvmbot llvmbot added the clang Clang issues not falling into any other category label May 6, 2025
@llvmbot
Copy link
Member

llvmbot commented May 6, 2025

@llvm/pr-subscribers-clang

Author: Nathan Ridge (HighCommander4)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/138640.diff

1 Files Affected:

  • (modified) clang/lib/Index/IndexingContext.h (+1)
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; }

Copy link

github-actions bot commented May 6, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@HighCommander4 HighCommander4 force-pushed the defaulted-destructor-comment branch from eeeb71e to 43335f7 Compare May 6, 2025 07:28
@HighCommander4 HighCommander4 force-pushed the defaulted-destructor-comment branch from 43335f7 to fd9739f Compare May 6, 2025 20:47
@HighCommander4 HighCommander4 merged commit 25af0ae into llvm:main May 6, 2025
6 of 9 checks passed
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants