Lines Matching refs:StmtResult
35 StmtResult Parser::ParseStatement(SourceLocation *TrailingElseLoc, in ParseStatement()
37 StmtResult Res; in ParseStatement()
101 StmtResult
113 StmtResult Res = ParseStatementOrDeclarationAfterAttributes( in ParseStatementOrDeclaration()
154 StmtResult
159 StmtResult Res; in ParseStatementOrDeclarationAfterAttributes()
397 StmtResult Parser::ParseExprStatement() { in ParseExprStatement()
438 StmtResult Parser::ParseSEHTryBlock() { in ParseSEHTryBlock()
445 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseSEHTryBlock()
450 StmtResult Handler; in ParseSEHTryBlock()
476 StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) { in ParseSEHExceptBlock()
515 StmtResult Block(ParseCompoundStatement()); in ParseSEHExceptBlock()
528 StmtResult Parser::ParseSEHFinallyBlock(SourceLocation FinallyLoc) { in ParseSEHFinallyBlock()
539 StmtResult Block(ParseCompoundStatement()); in ParseSEHFinallyBlock()
553 StmtResult Parser::ParseSEHLeaveStatement() { in ParseSEHLeaveStatement()
564 StmtResult Parser::ParseLabeledStatement(ParsedAttributesWithRange &attrs) { in ParseLabeledStatement()
577 StmtResult SubStmt; in ParseLabeledStatement()
632 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) { in ParseCaseStatement()
651 StmtResult TopLevelCase(true); in ParseCaseStatement()
730 StmtResult Case = in ParseCaseStatement()
756 StmtResult SubStmt; in ParseCaseStatement()
790 StmtResult Parser::ParseDefaultStatement() { in ParseDefaultStatement()
809 StmtResult SubStmt; in ParseDefaultStatement()
831 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr) { in ParseCompoundStatement()
857 StmtResult Parser::ParseCompoundStatement(bool isStmtExpr, in ParseCompoundStatement()
927 StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) { in ParseCompoundStatementBody()
971 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation()); in ParseCompoundStatementBody()
985 StmtResult R; in ParseCompoundStatementBody()
1056 bool Parser::ParseParenExprOrCondition(StmtResult *InitStmt, in ParseParenExprOrCondition()
1109 StmtResult Parser::ParseIfStatement(SourceLocation *TrailingElseLoc) { in ParseIfStatement()
1144 StmtResult InitStmt; in ParseIfStatement()
1179 StmtResult ThenStmt; in ParseIfStatement()
1193 StmtResult ElseStmt; in ParseIfStatement()
1255 StmtResult Parser::ParseSwitchStatement(SourceLocation *TrailingElseLoc) { in ParseSwitchStatement()
1285 StmtResult InitStmt; in ParseSwitchStatement()
1291 StmtResult Switch = in ParseSwitchStatement()
1327 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseSwitchStatement()
1340 StmtResult Parser::ParseWhileStatement(SourceLocation *TrailingElseLoc) { in ParseWhileStatement()
1393 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseWhileStatement()
1409 StmtResult Parser::ParseDoStatement() { in ParseDoStatement()
1435 StmtResult Body(ParseStatement()); in ParseDoStatement()
1515 StmtResult Parser::ParseForStatement(SourceLocation *TrailingElseLoc) { in ParseForStatement()
1559 StmtResult FirstPart; in ParseForStatement()
1737 StmtResult ForRangeStmt; in ParseForStatement()
1738 StmtResult ForEachStmt; in ParseForStatement()
1785 StmtResult Body(ParseStatement(TrailingElseLoc)); in ParseForStatement()
1815 StmtResult Parser::ParseGotoStatement() { in ParseGotoStatement()
1819 StmtResult Res; in ParseGotoStatement()
1849 StmtResult Parser::ParseContinueStatement() { in ParseContinueStatement()
1860 StmtResult Parser::ParseBreakStatement() { in ParseBreakStatement()
1871 StmtResult Parser::ParseReturnStatement() { in ParseReturnStatement()
1905 StmtResult Parser::ParsePragmaLoopHint(StmtVector &Stmts, in ParsePragmaLoopHint()
1928 StmtResult S = ParseStatementOrDeclarationAfterAttributes( in ParsePragmaLoopHint()
1951 StmtResult FnBody(ParseCompoundStatementBody()); in ParseFunctionStatementBody()
1988 StmtResult FnBody(ParseCXXTryBlockCommon(TryLoc, /*FnTry*/true)); in ParseFunctionTryBlock()
2045 StmtResult Parser::ParseCXXTryBlock() { in ParseCXXTryBlock()
2068 StmtResult Parser::ParseCXXTryBlockCommon(SourceLocation TryLoc, bool FnTry) { in ParseCXXTryBlockCommon()
2072 StmtResult TryBlock(ParseCompoundStatement(/*isStmtExpr=*/false, in ParseCXXTryBlockCommon()
2084 StmtResult Handler; in ParseCXXTryBlockCommon()
2111 StmtResult Handler(ParseCXXCatchBlock(FnTry)); in ParseCXXTryBlockCommon()
2134 StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) { in ParseCXXCatchBlock()
2176 StmtResult Block(ParseCompoundStatement()); in ParseCXXCatchBlock()
2198 StmtResult Compound = ParseCompoundStatement(); in ParseMicrosoftIfExistsStatement()
2202 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
2233 StmtResult R = ParseStatementOrDeclaration(Stmts, ACK_Any); in ParseMicrosoftIfExistsStatement()