diff options
author | erichkeane <ekeane@nvidia.com> | 2024-04-08 09:08:21 -0700 |
---|---|---|
committer | erichkeane <ekeane@nvidia.com> | 2024-04-08 09:08:21 -0700 |
commit | 4d6e67f677bdf40360e6aaba171bcdec93990b01 (patch) | |
tree | 14c7335efe53012bd6d020e0ab7b9cf0791009f7 | |
parent | 26fee0ff1251fa70babaf419c08383e7ec71c56c (diff) | |
download | llvm-4d6e67f677bdf40360e6aaba171bcdec93990b01.zip llvm-4d6e67f677bdf40360e6aaba171bcdec93990b01.tar.gz llvm-4d6e67f677bdf40360e6aaba171bcdec93990b01.tar.bz2 |
Fix build issue committed in 26fee0ff12
I brain-farted on how assert works :)
-rw-r--r-- | clang/lib/Parse/ParseOpenACC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseOpenACC.cpp b/clang/lib/Parse/ParseOpenACC.cpp index 3034d24..f434e15 100644 --- a/clang/lib/Parse/ParseOpenACC.cpp +++ b/clang/lib/Parse/ParseOpenACC.cpp @@ -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; |