[clang] [clang] Constant-evaluate format strings as last resort (PR #135864)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 22 07:40:03 PDT 2025
================
@@ -265,6 +265,9 @@ related warnings within the method body.
``format_matches`` accepts an example valid format string as its third
argument. For more information, see the Clang attributes documentation.
+- Format string checking now supports the compile-time evaluation of format
----------------
AaronBallman wrote:
It may help users to understand the improvement if there's a small code example showing what wasn't checked and is now correctly caught. WDYT?
https://github.com/llvm/llvm-project/pull/135864
More information about the cfe-commits
mailing list