Sirraide wrote: >> Hmm, this function also seems to exist on Linux, though. Additionally, from >> my man syslog docs:
> I'm not sure what you mean by that in relation to this addition of a format > attribute. I think my question was mainly as to why `syslog` is treated as an OpenBSD feature (at least in `getFormatAttrKind`) if it’s not exclusive to OpenBSD, because Linux also seems to have it. > The %m specifier is not a glibc extension from what I can find. According to `man 3 printf` on my system:  Additionally: https://github.com/llvm/llvm-project/blob/106621b601d7dc7c4929fba293f7e5ffe6b92c58/clang/lib/AST/PrintfFormatString.cpp#L346-L347 So it does seem like we already support this. In that case, amending the comment to include that it’s also used by `syslog()` (on both BSD and Linux) would be nice. https://github.com/llvm/llvm-project/pull/97366 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits