Revert "[flang] OpenMP allocate directive parse tree fix"

This reverts commit eaf7d97865.
Arcanist stripped co-author data from initial commit.
This commit is contained in:
Ethan Luis McDonough
2023-05-05 14:31:01 -05:00
parent c501aa8843
commit c89959842f
5 changed files with 2 additions and 144 deletions

View File

@@ -2325,14 +2325,6 @@ public:
EndOpenMP();
}
void Unparse(const OpenMPExecutableAllocate &x) {
const auto &fields =
std::get<std::optional<std::list<parser::OpenMPDeclarativeAllocate>>>(
x.t);
if (fields) {
for (const auto &decl : *fields) {
Walk(decl);
}
}
BeginOpenMP();
Word("!$OMP ALLOCATE");
Walk(" (", std::get<std::optional<OmpObjectList>>(x.t), ")");