Skip to content

Commit 55e3489

Browse files
committed
Inline diagnostic group
1 parent b98e0f8 commit 55e3489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10271,7 +10271,8 @@ def warn_depr_array_comparison : Warning<
1027110271

1027210272
def warn_array_comparison : Warning<
1027310273
"comparison between two arrays compare their addresses and will be deprecated in c++20; "
10274-
"to compare array addresses, use unary '+' to decay operands to pointers">;
10274+
"to compare array addresses, use unary '+' to decay operands to pointers">,
10275+
InGroup<DiagGroup<"array-compare">>;
1027510276

1027610277
def warn_stringcompare : Warning<
1027710278
"result of comparison against %select{a string literal|@encode}0 is "

0 commit comments

Comments
 (0)