[clang] [Clang] Add '-Warray-compare' flag for C++ below version 20 (PR #118031)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 2 11:48:05 PST 2024


================
@@ -702,6 +702,7 @@ def GNUStatementExpressionFromMacroExpansion :
 def GNUStatementExpression : DiagGroup<"gnu-statement-expression",
                                        [GNUStatementExpressionFromMacroExpansion]>;
 def StringConcatation : DiagGroup<"string-concatenation">;
+def ArrayCompare : DiagGroup<"array-compare">;
----------------
AmrDeveloper wrote:

Done, thanks

https://github.com/llvm/llvm-project/pull/118031


More information about the cfe-commits mailing list