[clang] [clang][sema] Add nonnull attribute to builtin format functions (PR #158626)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 15 10:51:28 PDT 2025


================
@@ -67,6 +67,7 @@
 // The third value provided to the macro specifies information about attributes
 // of the function.  These must be kept in sync with the predicates in the
 // Builtin::Context class.  Currently we have:
+//  N -> nonnull
----------------
Sirraide wrote:

This should document that this option takes arguments, similarly to `C` below.

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


More information about the cfe-commits mailing list