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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 29 08:42:21 PDT 2024


================
@@ -288,6 +288,9 @@ Improvements to Clang's diagnostics
 
 - Clang now correctly diagnoses no arguments to a variadic macro parameter as a C23/C++20 extension.
   Fixes #GH84495.
+ 
+- Clang now diagnoses missing format attributes for non-template functions and class/struct/union members
+  Fixes #GH70024
----------------
AaronBallman wrote:

```suggestion
- Clang now diagnoses missing format attributes for non-template functions and
  class/struct/union members. Fixes #GH70024
```
Formatting and punctuation, just nits.

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


More information about the cfe-commits mailing list