Skip to content

Commit 79b34f1

Browse files
committed
Fix more review comments
1 parent 7b53c9a commit 79b34f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseOpenMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4057,7 +4057,7 @@ OMPClause *Parser::ParseOpenMPSingleExprWithArgClause(OpenMPDirectiveKind DKind,
40574057

40584058
auto SaveModifier = [&](unsigned Type, unsigned Modifier,
40594059
SourceLocation Loc) {
4060-
assert(Type < NumberOfModifiers);
4060+
assert(Type < NumberOfModifiers && "Unexpected modifier type");
40614061
if (!KLoc[Type].isValid()) {
40624062
Arg[Type] = Modifier;
40634063
KLoc[Type] = Loc;

0 commit comments

Comments
 (0)