[PATCH] D93205: [Flang][OpenMP 4.5] Add semantic check for OpenMP Do Loop Constructs for single directive
Yashaswini Hegde via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 24 10:58:25 PST 2020
yhegde added inline comments.
================
Comment at: flang/lib/Semantics/check-omp-structure.cpp:518
+
+void OmpStructureChecker::Enter(const parser::OmpClause::Firstprivate &x) {
+ CheckAllowed(llvm::omp::Clause::OMPC_firstprivate);
----------------
kiranchandramohan wrote:
> We capture data-sharing attributes in resolve-directives right? Why is this function better here compared to resolve-directives?
Do you mean CheckMultipleAppearances in resolve-directives? I think It works for same or different clauses containing same symbols when they are in the same directive context. or I may be missing something.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93205/new/
https://reviews.llvm.org/D93205
More information about the llvm-commits
mailing list