[flang] [llvm] [Flang][OpenMP][Sema] Adding parsing and semantic support for scan directive. (PR #102792)
Sergio Afonso via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 06:24:28 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;
----------------
skatrak wrote:
I think `std::set<const Symbol *>` would be a better data type choice for this. Another issue is that this structure is used for both OpenMP and OpenACC, so I think this should be moved to the `OmpStructureChecker` subclass (in check-omp-structure.h). Same issue with the `reductionMod` below.
https://github.com/llvm/llvm-project/pull/102792
More information about the llvm-commits
mailing list