[flang] [llvm] [flang][OpenMP] Parse iterators, add to MAP clause, TODO for lowering (PR #113167)
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 11:16:39 PDT 2024
================
@@ -1547,6 +1548,17 @@ class OmpVisitor : public virtual DeclarationVisitor {
void Post(const parser::OpenMPAtomicConstruct &) {
messageHandler().set_currStmtSource(std::nullopt);
}
+ bool Pre(const parser::OmpClause &x) {
+ if (NeedsScope(x)) {
+ PushScope(Scope::Kind::OtherConstruct, nullptr);
----------------
kparzysz wrote:
Introduced `Scope::Kind::OtherClause` and It seems to be working. The changes in symbol08.f90 are no longer needed.
https://github.com/llvm/llvm-project/pull/113167
More information about the llvm-commits
mailing list