Skip to content

Commit

Permalink
Fix build issue committed in 26fee0f
Browse files Browse the repository at this point in the history
I brain-farted on how assert works :)
  • Loading branch information
erichkeane committed Apr 8, 2024
1 parent 26fee0f commit 4d6e67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Parse/ParseOpenACC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ Parser::OpenACCDirectiveParseInfo Parser::ParseOpenACCDirective() {
assert(Tok.is(tok::annot_pragma_openacc_end) &&
"Didn't parse all OpenACC Clauses");
ParseInfo.EndLoc = ConsumeAnnotationToken();
assert(ParseInfo.EndLoc.isValid(),
assert(ParseInfo.EndLoc.isValid() &&
"Terminating annotation token not present");

return ParseInfo;
Expand Down

0 comments on commit 4d6e67f

Please sign in to comment.