Skip to content

Commit de67ca1

Browse files
Fix extra parenthesis in diagnostic (#122055)
Following #120380, `err_pack_expansion_length_conflict` has one close paren too many. Remove the extra parenthesis.
1 parent f50f969 commit de67ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5878,7 +5878,7 @@ def err_pack_expansion_without_parameter_packs : Error<
58785878
"pack expansion does not contain any unexpanded parameter packs">;
58795879
def err_pack_expansion_length_conflict : Error<
58805880
"pack expansion contains parameter packs %0 and %1 that have different "
5881-
"lengths (%2 vs. %select{|at least }3%4))">;
5881+
"lengths (%2 vs. %select{|at least }3%4)">;
58825882
def err_pack_expansion_length_conflict_multilevel : Error<
58835883
"pack expansion contains parameter pack %0 that has a different "
58845884
"length (%1 vs. %select{|at least }2%3) from outer parameter packs">;

0 commit comments

Comments
 (0)