[clang] [analyzer] Fix format attribute handling in GenericTaintChecker (PR #132765)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 26 02:48:02 PDT 2025
================
@@ -161,3 +161,45 @@ void top() {
clang_analyzer_isTainted(A.data); // expected-warning {{YES}}
}
} // namespace gh114270
+
+
+namespace format_attribute {
+__attribute__((__format__ (__printf__, 1, 2)))
+void log_nonmethod(const char *fmt, ...);
----------------
NagyDonat wrote:
Yes, why not.
https://github.com/llvm/llvm-project/pull/132765
More information about the cfe-commits
mailing list