[clang] [Clang] suppress deprecated field warnings in implicit special-member functions (PR #147400)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 23 00:07:54 PDT 2025
================
@@ -983,6 +983,7 @@ Bug Fixes to C++ Support
non-empty initializer list. (#GH147949)
- Fixed constant evaluation of equality comparisons of constexpr-unknown references. (#GH147663)
- Diagnose binding a reference to ``*nullptr`` during constant evaluation. (#GH48665)
+- Suppress -Wdeprecated-declarations in implicitly generated special-member functions for deprecated data-members; only explicit uses still warn. (#GH147293)
----------------
cor3ntin wrote:
```suggestion
- Suppress -Wdeprecated-declarations in implicitly generated functions. (#GH147293)
```
https://github.com/llvm/llvm-project/pull/147400
More information about the cfe-commits
mailing list