[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 29 10:35:56 PDT 2025
================
@@ -550,6 +550,39 @@ explicit ``overflow_behavior`` attribute.
// [-Wimplicit-overflow-behavior-conversion-pedantic]
}
+Format String Functions
+=======================
+
+When overflow behavior types are used with format string functions (printf-family
+functions like ``printf``, ``fprintf``, ``sprintf``, etc., and scanf-family
+functions like ``scanf``, ``fscanf``, ``sscanf``, etc.), they are treated based
+on their underlying integer types for format specifier compatibility checking.
----------------
JustinStitt wrote:
Gotcha, done in [5a4ac21](https://github.com/llvm/llvm-project/pull/148914/commits/5a4ac218ac4069a572b298e27e0fe9221fb8c953)
https://github.com/llvm/llvm-project/pull/148914
More information about the cfe-commits
mailing list