Lines Matching refs:StmtResult

40 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc,  in ParseStatement()
42 StmtResult Res; in ParseStatement()
103 StmtResult
124 StmtResult Res = ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclaration()
175 StmtResult Parser::ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclarationAfterAttributes()
180 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
547 StmtResult Parser::ParseExprStatement(ParsedStmtContext StmtCtx) { in ParseExprStatement()
584 StmtResult R = handleExprStmt(Expr, StmtCtx); in ParseExprStatement()
600 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock()
607 StmtResult TryBlock(ParseCompoundStatement( in ParseSEHTryBlock()
613 StmtResult Handler; in ParseSEHTryBlock()
639 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) { in ParseSEHExceptBlock()
678 StmtResult Block(ParseCompoundStatement()); in ParseSEHExceptBlock()
691 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyLoc) { in ParseSEHFinallyBlock()
702 StmtResult Block(ParseCompoundStatement()); in ParseSEHFinallyBlock()
716 StmtResult Parser::ParseSEHLeaveStatement() { in ParseSEHLeaveStatement()
742 StmtResult Parser::ParseLabeledStatement(ParsedAttributes &Attrs, in ParseLabeledStatement()
761 StmtResult SubStmt; in ParseLabeledStatement()
815 StmtResult Parser::ParseCaseStatement(ParsedStmtContext StmtCtx, in ParseCaseStatement()
840 StmtResult TopLevelCase(true); in ParseCaseStatement()
908 StmtResult Case = in ParseCaseStatement()
932 StmtResult SubStmt; in ParseCaseStatement()
961 StmtResult Parser::ParseDefaultStatement(ParsedStmtContext StmtCtx) { in ParseDefaultStatement()
986 StmtResult SubStmt; in ParseDefaultStatement()
1006 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) { in ParseCompoundStatement()
1033 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr, in ParseCompoundStatement()
1141 StmtResult R = in ConsumeNullStmt()
1156 StmtResult Parser::handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx) { in handleExprStmt()
1180 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) { in ParseCompoundStatementBody()
1225 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation()); in ParseCompoundStatementBody()
1246 StmtResult R; in ParseCompoundStatementBody()
1338 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition()
1501 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) { in ParseIfStatement()
1553 StmtResult InitStmt; in ParseIfStatement()
1598 StmtResult ThenStmt; in ParseIfStatement()
1623 StmtResult ElseStmt; in ParseIfStatement()
1723 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) { in ParseSwitchStatement()
1753 StmtResult InitStmt; in ParseSwitchStatement()
1761 StmtResult Switch = Actions.ActOnStartOfSwitchStmt( in ParseSwitchStatement()
1797 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseSwitchStatement()
1810 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) { in ParseWhileStatement()
1867 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseWhileStatement()
1885 StmtResult Parser::ParseDoStatement() { in ParseDoStatement()
1911 StmtResult Body(ParseStatement()); in ParseDoStatement()
2004 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) { in ParseForStatement()
2048 StmtResult FirstPart; in ParseForStatement()
2123 FirstPart = StmtResult(); in ParseForStatement()
2299 StmtResult ForRangeStmt; in ParseForStatement()
2300 StmtResult ForEachStmt; in ParseForStatement()
2347 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseForStatement()
2380 StmtResult Parser::ParseGotoStatement() { in ParseGotoStatement()
2384 StmtResult Res; in ParseGotoStatement()
2414 StmtResult Parser::ParseContinueStatement() { in ParseContinueStatement()
2425 StmtResult Parser::ParseBreakStatement() { in ParseBreakStatement()
2436 StmtResult Parser::ParseReturnStatement() { in ParseReturnStatement()
2474 StmtResult Parser::ParsePragmaLoopHint(StmtVector &Stmts, in ParsePragmaLoopHint()
2500 StmtResult S = ParseStatementOrDeclarationAfterAttributes( in ParsePragmaLoopHint()
2529 StmtResult FnBody(ParseCompoundStatementBody()); in ParseFunctionStatementBody()
2567 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2625 StmtResult Parser::ParseCXXTryBlock() { in ParseCXXTryBlock()
2648 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon()
2652 StmtResult TryBlock(ParseCompoundStatement( in ParseCXXTryBlockCommon()
2665 StmtResult Handler; in ParseCXXTryBlockCommon()
2692 StmtResult Handler(ParseCXXCatchBlock(FnTry)); in ParseCXXTryBlockCommon()
2715 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) { in ParseCXXCatchBlock()
2757 StmtResult Block(ParseCompoundStatement()); in ParseCXXCatchBlock()
2779 StmtResult Compound = ParseCompoundStatement(); in ParseMicrosoftIfExistsStatement()
2783 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
2814 StmtResult R = in ParseMicrosoftIfExistsStatement()