[PATCH] D93482: [flang][openmp] Make Reduction clause part of OmpClause

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 19 04:30:00 PST 2020


clementval marked an inline comment as done.
clementval added inline comments.


================
Comment at: flang/lib/Semantics/check-omp-structure.cpp:376
 CHECK_SIMPLE_CLAUSE(Private, OMPC_private)
+CHECK_SIMPLE_CLAUSE(Reduction, OMPC_reduction)
 CHECK_SIMPLE_CLAUSE(Shared, OMPC_shared)
----------------
yhegde wrote:
> Can we get an Enter function (Enter(const parser::OmpClause::Reduction &x)) to check the restrictions on Reduction clause. 
Can be added when necessary 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93482/new/

https://reviews.llvm.org/D93482



More information about the llvm-commits mailing list