[clang] [clang] Catch missing format attributes (PR #70024)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri May 31 08:00:46 PDT 2024


================
@@ -501,6 +501,9 @@ Improvements to Clang's diagnostics
 - Clang emits a ``-Wparentheses`` warning for expressions with consecutive comparisons like ``x < y < z``.
   Fixes #GH20456.
 
+- Clang now diagnoses missing format attributes for non-template functions and
+  class/struct/union members. Fixes #GH70024
----------------
AaronBallman wrote:

```suggestion
  class/struct/union members. Fixes #GH60718
```


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


More information about the cfe-commits mailing list