================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to