[clang] [clang] __builtin_os_log_format has incorrect PrintfFormat Attribute argument (PR #178320)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 31 16:17:40 PST 2026


================
@@ -4970,8 +4970,7 @@ def OSLogFormatBufferSize : Builtin {
 
 def OSLogFormat : Builtin {
   let Spellings = ["__builtin_os_log_format"];
-  // FIXME: The printf attribute looks suspiciously like it should be argument #1.
----------------
ojhunt wrote:

I had not actual registered this fixme being present, that's hilarious :D

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


More information about the cfe-commits mailing list