[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Parse WHEN, OTHERWISE, MATCH clauses plus METADIRECTIVE (PR #121817)
Krzysztof Parzyszek via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jan 15 12:47:20 PST 2025
================
@@ -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
More information about the llvm-branch-commits
mailing list