Skip to content

Commit 59b558d

Browse files
committed
Remove double diagnostics
1 parent 5032a3d commit 59b558d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8648,7 +8648,7 @@ static void HandleRequiresCapabilityAttr(TypeProcessingState &State,
86488648
Sema &S = State.getSema();
86498649

86508650
if (PA.getNumArgs() < 1) {
8651-
S.Diag(PA.getLoc(), diag::err_attribute_too_few_arguments) << PA << 1;
8651+
// Already diganosed elsewhere, just ignore.
86528652
return;
86538653
}
86548654

0 commit comments

Comments
 (0)