Lines Matching refs:StmtResult
31 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc, in ParseStatement()
33 StmtResult Res; in ParseStatement()
94 StmtResult
106 StmtResult Res = ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclaration()
151 StmtResult Parser::ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclarationAfterAttributes()
155 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
426 StmtResult Parser::ParseExprStatement(ParsedStmtContext StmtCtx) { in ParseExprStatement()
469 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock()
476 StmtResult TryBlock(ParseCompoundStatement( in ParseSEHTryBlock()
482 StmtResult Handler; in ParseSEHTryBlock()
508 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) { in ParseSEHExceptBlock()
547 StmtResult Block(ParseCompoundStatement()); in ParseSEHExceptBlock()
560 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyLoc) { in ParseSEHFinallyBlock()
571 StmtResult Block(ParseCompoundStatement()); in ParseSEHFinallyBlock()
585 StmtResult Parser::ParseSEHLeaveStatement() { in ParseSEHLeaveStatement()
596 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs, in ParseLabeledStatement()
614 StmtResult SubStmt; in ParseLabeledStatement()
666 StmtResult Parser::ParseCaseStatement(ParsedStmtContext StmtCtx, in ParseCaseStatement()
690 StmtResult TopLevelCase(true); in ParseCaseStatement()
758 StmtResult Case = in ParseCaseStatement()
782 StmtResult SubStmt; in ParseCaseStatement()
815 StmtResult Parser::ParseDefaultStatement(ParsedStmtContext StmtCtx) { in ParseDefaultStatement()
839 StmtResult SubStmt; in ParseDefaultStatement()
860 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) { in ParseCompoundStatement()
887 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr, in ParseCompoundStatement()
973 StmtResult R = in ConsumeNullStmt()
988 StmtResult Parser::handleExprStmt(ExprResult E, ParsedStmtContext StmtCtx) { in handleExprStmt()
1012 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) { in ParseCompoundStatementBody()
1056 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation()); in ParseCompoundStatementBody()
1077 StmtResult R; in ParseCompoundStatementBody()
1149 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition()
1295 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) { in ParseIfStatement()
1330 StmtResult InitStmt; in ParseIfStatement()
1367 StmtResult ThenStmt; in ParseIfStatement()
1385 StmtResult ElseStmt; in ParseIfStatement()
1453 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) { in ParseSwitchStatement()
1483 StmtResult InitStmt; in ParseSwitchStatement()
1489 StmtResult Switch = in ParseSwitchStatement()
1525 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseSwitchStatement()
1538 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) { in ParseWhileStatement()
1593 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseWhileStatement()
1611 StmtResult Parser::ParseDoStatement() { in ParseDoStatement()
1637 StmtResult Body(ParseStatement()); in ParseDoStatement()
1720 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) { in ParseForStatement()
1764 StmtResult FirstPart; in ParseForStatement()
1833 FirstPart = StmtResult(); in ParseForStatement()
1981 StmtResult ForRangeStmt; in ParseForStatement()
1982 StmtResult ForEachStmt; in ParseForStatement()
2031 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseForStatement()
2064 StmtResult Parser::ParseGotoStatement() { in ParseGotoStatement()
2068 StmtResult Res; in ParseGotoStatement()
2098 StmtResult Parser::ParseContinueStatement() { in ParseContinueStatement()
2109 StmtResult Parser::ParseBreakStatement() { in ParseBreakStatement()
2120 StmtResult Parser::ParseReturnStatement() { in ParseReturnStatement()
2158 StmtResult Parser::ParsePragmaLoopHint(StmtVector &Stmts, in ParsePragmaLoopHint()
2181 StmtResult S = ParseStatementOrDeclarationAfterAttributes( in ParsePragmaLoopHint()
2204 StmtResult FnBody(ParseCompoundStatementBody()); in ParseFunctionStatementBody()
2241 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2298 StmtResult Parser::ParseCXXTryBlock() { in ParseCXXTryBlock()
2321 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon()
2325 StmtResult TryBlock(ParseCompoundStatement( in ParseCXXTryBlockCommon()
2338 StmtResult Handler; in ParseCXXTryBlockCommon()
2365 StmtResult Handler(ParseCXXCatchBlock(FnTry)); in ParseCXXTryBlockCommon()
2388 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) { in ParseCXXCatchBlock()
2431 StmtResult Block(ParseCompoundStatement()); in ParseCXXCatchBlock()
2453 StmtResult Compound = ParseCompoundStatement(); in ParseMicrosoftIfExistsStatement()
2457 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
2488 StmtResult R = in ParseMicrosoftIfExistsStatement()