[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)
Shashi Shankar via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 11 14:59:53 PDT 2025
shashi1687 wrote:
Hi All,
I’ve pushed an update addressing the feedback:
- Moved the suppression guard into the case AR_Deprecated: block
- Used dyn_cast_if_present<CXXMethodDecl> and combined isImplicit()/isDefaulted() in one check
- Consolidated constructor/destructor detection with isa<CXXConstructorDecl, CXXDestructorDecl>
- Removed the FunctionDeck typo—now correctly casting to CXXMethodDecl
- Dropped the PR number from the release notes entry
All Sema tests (check-clang)pass locally. Please take another look when you have a moment, and let me know if there’s anything else I can improve!
Thank you for your guidance,
Shashi
https://github.com/llvm/llvm-project/pull/147400
More information about the cfe-commits
mailing list