[clang] [Sema] Suggest missing format attributes (PR #166738)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 27 06:30:38 PST 2025


================
@@ -401,6 +401,8 @@ Improvements to Clang's diagnostics
   or continue (#GH166013)
 - Clang now emits a diagnostic in case `vector_size` or `ext_vector_type`
   attributes are used with a negative size (#GH165463).
+- Clang now detects potential missing format attributes on function declarations
+  when calling format functions. (#GH60718)
----------------
cor3ntin wrote:

> This is an updated version of https://github.com/llvm/llvm-project/pull/105479 with most comments addressed.

Please mention that in the description. Thanks 

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


More information about the cfe-commits mailing list