Skip to content

Commit 4d6e67f

Browse files
committed
Fix build issue committed in 26fee0f
I brain-farted on how assert works :)
1 parent 26fee0f commit 4d6e67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseOpenACC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ Parser::OpenACCDirectiveParseInfo Parser::ParseOpenACCDirective() {
12451245
assert(Tok.is(tok::annot_pragma_openacc_end) &&
12461246
"Didn't parse all OpenACC Clauses");
12471247
ParseInfo.EndLoc = ConsumeAnnotationToken();
1248-
assert(ParseInfo.EndLoc.isValid(),
1248+
assert(ParseInfo.EndLoc.isValid() &&
12491249
"Terminating annotation token not present");
12501250

12511251
return ParseInfo;

0 commit comments

Comments
 (0)