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

Kiran Chandramohan via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 05:32:11 PDT 2024


================
@@ -198,6 +198,10 @@ class DirectiveStructureChecker : public virtual BaseChecker {
     ClauseMapTy clauseInfo;
     std::list<C> actualClauses;
     std::list<C> crtGroup;
+    std::set<std::string> usedInScanDirective;
----------------
kiranchandramohan wrote:

We are probably missing a `ResolveName` for the names in the clauses in the scan directive. This could be the reason that we are not getting the same symbols in the reduction clause and the scan directive.

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


More information about the llvm-commits mailing list