[clang] [clang] Constant-evaluate format strings as last resort (PR #135864)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 20:50:14 PDT 2025
================
@@ -10170,6 +10170,8 @@ def warn_format_bool_as_character : Warning<
"using '%0' format specifier, but argument has boolean value">,
InGroup<Format>;
def note_format_string_defined : Note<"format string is defined here">;
+def note_format_string_evaluated_to : Note<
+ "format string was constant-evaluated">;
----------------
apple-fcloutier wrote:
The point is taken. Would you like to suggest an alternate wording?
https://github.com/llvm/llvm-project/pull/135864
More information about the cfe-commits
mailing list