Searched refs:endStmt (Results 1 – 4 of 4) sorted by relevance
208 const auto &endStmt{std::get<std::tuple_size_v<decltype(x.t)> - 1>(x.t)}; in Pre() local209 if (endStmt.label) { in Pre()213 auto targetFlags{ConstructBranchTargetFlags(endStmt)}; in Pre()215 endStmt.label.value(), targetFlags, currentScope_); in Pre()665 const auto &endStmt{std::get<parser::Statement<END>>(a.t)}; in CheckEndName() local666 const parser::CharBlock *endName{GetStmtName(endStmt)}; in CheckEndName()677 .Say(endStmt.source, in CheckEndName()
255 const auto &endStmt = in endFunctionBody() local256 pftParentStack.back().get<lower::pft::FunctionLikeUnit>().endStmt; in endFunctionBody()257 endStmt.visit(common::visitors{ in endFunctionBody()1572 : ProgramUnit{func, parent}, endStmt{ in FunctionLikeUnit()1595 endStmt{getFunctionStmt<parser::EndFunctionStmt>(func)} {1606 endStmt{getFunctionStmt<parser::EndSubroutineStmt>(func)} {1617 endStmt{getFunctionStmt<parser::EndMpSubprogramStmt>(func)} {1642 return stmtSourceLoc(endStmt); in getStartingSourceLoc()1652 endStmt{getModuleStmt<parser::EndModuleStmt>(m)} {1661 endStmt{getModuleStmt<parser::EndSubmoduleStmt>(m)} {
2846 setCurrentPosition(Fortran::lower::pft::stmtSourceLoc(funit.endStmt)); in endNewFunction()
603 return endStmt.isA<parser::Statement<parser::EndProgramStmt>>();657 FunctionStatement endStmt;706 ModuleStatement endStmt;