[flang] [llvm] [Flang][OpenMP][Sema] Adding parsing and semantic support for scan directive. (PR #102792)

Anchu Rajendran S via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 12:36:27 PST 2024


================
@@ -70,6 +72,43 @@ class OmpStructureChecker
         ) {
   }
   using llvmOmpClause = const llvm::omp::Clause;
+  using ReductionModifier = parser::OmpReductionClause::ReductionModifier;
+  using Symbol = Fortran::semantics::Symbol;
+  class ScanReductionInfo {
+    std::set<Symbol *> usedInScan;
+    std::map<Symbol *, ReductionModifier> reductionMod;
----------------
anchuraj wrote:

Yeah, got it. I will get the changes up soon. I think it would simplify. Tomorrow is fine. 

https://github.com/llvm/llvm-project/pull/102792


More information about the llvm-commits mailing list