summaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/check-omp-structure.h
diff options
context:
space:
mode:
Diffstat (limited to 'flang/lib/Semantics/check-omp-structure.h')
-rw-r--r--flang/lib/Semantics/check-omp-structure.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/flang/lib/Semantics/check-omp-structure.h b/flang/lib/Semantics/check-omp-structure.h
index 7a96db3ec603..b12cb09ae827 100644
--- a/flang/lib/Semantics/check-omp-structure.h
+++ b/flang/lib/Semantics/check-omp-structure.h
@@ -88,6 +88,7 @@ public:
#include "llvm/Frontend/OpenMP/OMP.inc"
) {
}
+ using llvmOmpClause = const llvm::omp::Clause;
void Enter(const parser::OpenMPConstruct &);
void Enter(const parser::OpenMPLoopConstruct &);
@@ -207,6 +208,11 @@ private:
const parser::OmpObjectList &, const llvm::omp::Clause);
void GetSymbolsInObjectList(
const parser::OmpObjectList &, std::vector<const Symbol *> &);
+
+ const parser::Name GetLoopIndex(const parser::DoConstruct *x);
+ void SetLoopInfo(const parser::OpenMPLoopConstruct &x);
+ void CheckIsLoopIvPartOfClause(
+ llvmOmpClause clause, const parser::OmpObjectList &ompObjectList);
};
} // namespace Fortran::semantics
#endif // FORTRAN_SEMANTICS_CHECK_OMP_STRUCTURE_H_