[llvm] [clang] [Sema] Implement support for -Wformat-signedness (PR #74440)
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 10:39:42 PST 2023
================
@@ -918,6 +918,9 @@ def Wdeprecated : Flag<["-"], "Wdeprecated">, Group<W_Group>,
HelpText<"Enable warnings for deprecated constructs and define __DEPRECATED">;
def Wno_deprecated : Flag<["-"], "Wno-deprecated">, Group<W_Group>,
Visibility<[ClangOption, CC1Option]>;
+def Wformat_signedness : Flag<["-"], "Wformat-signedness">,
----------------
AaronBallman wrote:
Yup, this will have to change to adding the diagnostic to DiagnosticSemaKinds.td. I think we will want to control this separately from `-Wformat` but have it grouped under that flag.
https://github.com/llvm/llvm-project/pull/74440
More information about the llvm-commits
mailing list