[clang] [Clang]: enhance handling of [[deprecated]] attribute diagnostics for local variables (PR #113575)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 25 00:26:41 PDT 2024


https://github.com/Sirraide approved this pull request.

LGTM

On the issue for this, there was some discussion about the fact that the standard might disallow deprecating local variables at some point, but so long as we (still) allow that, it only makes sense to actually diagnose the deprecation as well considering that it seems to be straight-forward enough to implement.

https://github.com/llvm/llvm-project/pull/113575


More information about the cfe-commits mailing list