[PATCH] D98603: [Flang] [OpenMP] Add function for mapping OpenMP Parser clause classes with the corresponding clause kind
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 15 10:56:35 PDT 2021
clementval accepted this revision.
clementval added a comment.
This revision is now accepted and ready to land.
LGTM. Thanks for working on that. I'll probably make use of this in the OpenACC part where it makes sense.
================
Comment at: flang/lib/Semantics/check-omp-structure.cpp:1460
+ // Clauses with OmpObjectList as its data member
+ using MemberObjectListClauses = std::tuple<parser::OmpClause::Copyprivate,
+ parser::OmpClause::Copyin, parser::OmpClause::Firstprivate,
----------------
We could maybe generate this list from TableGen as well since we have the information. Anyway doesn't need to be done in this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98603/new/
https://reviews.llvm.org/D98603
More information about the llvm-commits
mailing list