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

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 23:52:40 PDT 2024


================
@@ -424,6 +424,8 @@ Improvements to Clang's diagnostics
   name was a reserved name, which we improperly allowed to suppress the
   diagnostic.
 
+- Clang now diagnoses [[deprecated]] attribute usage on local variables (#GH90073).
----------------
Sirraide wrote:

```suggestion
- Clang now diagnoses ``[[deprecated]]`` attribute usage on local variables (#GH90073).
```
Oh, another nit here. I only noticed this now

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


More information about the cfe-commits mailing list