Lines Matching refs:StmtResult
80 StmtResult
89 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts,
101 StmtResult
106 StmtResult Res;
309 StmtResult Parser::ParseExprStatement() {
341 StmtResult Parser::ParseSEHTryBlock() {
356 StmtResult Parser::ParseSEHTryBlockCommon(SourceLocation TryLoc) {
360 StmtResult TryBlock(ParseCompoundStatement());
364 StmtResult Handler;
390 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) {
419 StmtResult Block(ParseCompoundStatement());
432 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyBlock) {
437 StmtResult Block(ParseCompoundStatement());
450 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs) {
466 StmtResult SubStmt(ParseStatement());
488 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) {
507 StmtResult TopLevelCase(true);
569 StmtResult Case =
596 StmtResult SubStmt;
625 StmtResult Parser::ParseDefaultStatement() {
645 StmtResult SubStmt;
666 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) {
697 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr,
755 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) {
801 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation());
820 StmtResult R;
943 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) {
1002 StmtResult ThenStmt(ParseStatement(&InnerStatementTrailingElseLoc));
1010 StmtResult ElseStmt;
1069 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) {
1104 StmtResult Switch
1135 StmtResult Body(ParseStatement(TrailingElseLoc));
1157 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) {
1213 StmtResult Body(ParseStatement(TrailingElseLoc));
1229 StmtResult Parser::ParseDoStatement() {
1256 StmtResult Body(ParseStatement());
1316 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) {
1359 StmtResult FirstPart;
1511 StmtResult ForRangeStmt;
1512 StmtResult ForEachStmt;
1546 StmtResult Body(ParseStatement(TrailingElseLoc));
1576 StmtResult Parser::ParseGotoStatement() {
1580 StmtResult Res;
1610 StmtResult Parser::ParseContinueStatement() {
1621 StmtResult Parser::ParseBreakStatement() {
1629 StmtResult Parser::ParseReturnStatement() {
1673 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) {
1790 StmtResult Parser::ParseAsmStatement(bool &msAsm) {
1989 StmtResult FnBody(ParseCompoundStatementBody());
2027 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true));
2070 StmtResult Parser::ParseCXXTryBlock() {
2093 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) {
2098 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false,
2110 StmtResult Handler;
2136 StmtResult Handler(ParseCXXCatchBlock(FnTry));
2159 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) {
2201 StmtResult Block(ParseCompoundStatement());
2223 StmtResult Compound = ParseCompoundStatement();
2227 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc,
2258 StmtResult R = ParseStatementOrDeclaration(Stmts, false);