================
@@ -214,6 +214,11 @@ class AssociatedLoopChecker {
 };
 
 bool OmpStructureChecker::CheckAllowedClause(llvmOmpClause clause) {
+  // Do not do clause checks while processing METADIRECTIVE.
----------------
kparzysz wrote:

Yes, I'll add a comment.  The reason was that when you specify a clause inside 
of a context selector, the visitor will think it was applied to METADIRECTIVE 
itself...

https://github.com/llvm/llvm-project/pull/121817
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to