[clang] [OpenMP][Clang] Support transparent clause with no argument provided. (PR #177684)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 11:51:33 PST 2026
================
@@ -3214,6 +3214,14 @@ OMPClause *Parser::ParseOpenMPClause(OpenMPDirectiveKind DKind,
ErrorFound = true;
}
+ if (CKind == OMPC_transparent &&
+ PP.LookAhead(0).is(tok::annot_pragma_openmp_end)) {
----------------
alexey-bataev wrote:
What if there is next clause after transparent clause?
https://github.com/llvm/llvm-project/pull/177684
More information about the cfe-commits
mailing list