Home
last modified time | relevance | path

Searched refs:StmtType (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-do-forall.h35 ENUM_CLASS(StmtType, CYCLE, EXIT) in ENUM_CLASS() argument
65 StmtType, const char *enclosingStmt, const ConstructNode &) const; in ENUM_CLASS()
66 void CheckDoConcurrentExit(StmtType, const ConstructNode &) const; in ENUM_CLASS()
67 void CheckForBadLeave(StmtType, const ConstructNode &) const; in ENUM_CLASS()
68 void CheckNesting(StmtType, const parser::Name *) const; in ENUM_CLASS()
H A Dcheck-do-forall.cpp836 void DoForallChecker::SayBadLeave(StmtType stmtType, in SayBadLeave()
862 StmtType stmtType, const ConstructNode &construct) const { in CheckForBadLeave()
885 StmtType stmtType, const std::optional<parser::Name> &constructName, in StmtMatchesConstruct()
891 return stmtType == StmtType::EXIT || inDoConstruct; in StmtMatchesConstruct()
899 StmtType stmtType, const ConstructNode &construct) const { in CheckDoConcurrentExit()
900 if (stmtType == StmtType::EXIT && ConstructIsDoConcurrent(construct)) { in CheckDoConcurrentExit()
901 SayBadLeave(StmtType::EXIT, "DO CONCURRENT", construct); in CheckDoConcurrentExit()
910 StmtType stmtType, const parser::Name *stmtName) const { in CheckNesting()
924 if (stmtType == StmtType::EXIT) { in CheckNesting()
933 CheckNesting(StmtType::CYCLE, common::GetPtrFromOptional(cycleStmt.v)); in Enter()
[all …]