Home
last modified time | relevance | path

Searched refs:ElseStmt (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Parse/
DParseStmt.cpp1193 StmtResult ElseStmt; in ParseIfStatement() local
1217 ElseStmt = ParseStatement(); in ParseIfStatement()
1234 if ((ThenStmt.isInvalid() && ElseStmt.isInvalid()) || in ParseIfStatement()
1235 (ThenStmt.isInvalid() && ElseStmt.get() == nullptr) || in ParseIfStatement()
1236 (ThenStmt.get() == nullptr && ElseStmt.isInvalid())) { in ParseIfStatement()
1244 if (ElseStmt.isInvalid()) in ParseIfStatement()
1245 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc); in ParseIfStatement()
1248 ThenStmt.get(), ElseLoc, ElseStmt.get()); in ParseIfStatement()
/external/llvm-project/flang/include/flang/Lower/
DPFTBuilder.h120 parser::EndDoStmt, parser::IfThenStmt, parser::ElseIfStmt, parser::ElseStmt,
155 A, std::tuple<parser::CaseStmt, parser::ElseIfStmt, parser::ElseStmt,
161 parser::EndSelectStmt, parser::ElseIfStmt, parser::ElseStmt,
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1429 StmtResult ElseStmt; in ParseIfStatement() local
1456 ElseStmt = ParseStatement(); in ParseIfStatement()
1458 if (ElseStmt.isUsable()) in ParseIfStatement()
1476 if ((ThenStmt.isInvalid() && ElseStmt.isInvalid()) || in ParseIfStatement()
1477 (ThenStmt.isInvalid() && ElseStmt.get() == nullptr) || in ParseIfStatement()
1478 (ThenStmt.get() == nullptr && ElseStmt.isInvalid())) { in ParseIfStatement()
1486 if (ElseStmt.isInvalid()) in ParseIfStatement()
1487 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc); in ParseIfStatement()
1490 RParen, ThenStmt.get(), ElseLoc, ElseStmt.get()); in ParseIfStatement()
/external/llvm-project/flang/lib/Parser/
Dexecutable-parsers.cpp316 statement(construct<ElseStmt>("ELSE" >> maybe(name))), block)),
Dunparse.cpp1029 void Unparse(const ElseStmt &x) { // R1137 in Unparse()
/external/llvm-project/flang/lib/Lower/
DPFTBuilder.cpp406 std::tuple<parser::BlockStmt, parser::CycleStmt, parser::ElseStmt, in getConstructName()
639 [&](const parser::ElseStmt &) { in analyzeBranches() argument
/external/llvm-project/flang/lib/Semantics/
Dresolve-labels.cpp709 std::get<parser::Statement<parser::ElseStmt>>(elseBlock->t)); in CheckName()
Dresolve-names.cpp1054 void Post(const parser::ElseStmt &x) { CheckRef(x.v); } in Post()
/external/llvm-project/flang/include/flang/Parser/
Ddump-parse-tree.h244 NODE(parser, ElseStmt) in NODE()
Dparse-tree.h2258 WRAPPER_CLASS(ElseStmt, std::optional<Name>);
2273 std::tuple<Statement<ElseStmt>, Block> t;