Lines Matching refs:Actions

129   return Actions.ActOnAttributedStmt(Attrs, Res.get());  in ParseStatementOrDeclaration()
188 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes()
256 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
282 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
517 return Actions.ActOnExprStmtError(); in ParseExprStatement()
521 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
573 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock()
605 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock()
628 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get()); in ParseSEHExceptBlock()
645 Actions.ActOnStartSEHFinallyBlock(); in ParseSEHFinallyBlock()
649 Actions.ActOnAbortSEHFinallyBlock(); in ParseSEHFinallyBlock()
653 return Actions.ActOnFinishSEHFinallyBlock(FinallyLoc, Block.get()); in ParseSEHFinallyBlock()
663 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement()
710 SubStmt = Actions.ActOnAttributedStmt(TempAttrs, SubStmt.get()); in ParseLabeledStatement()
720 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement()
722 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement()
724 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
727 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement()
776 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement()
829 Actions.ActOnCaseStmt(CaseLoc, LHS, DotDotDotLoc, RHS, ColonLoc); in ParseCaseStatement()
844 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get()); in ParseCaseStatement()
872 SubStmt = Actions.ActOnNullStmt(SourceLocation()); in ParseCaseStatement()
873 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get()); in ParseCaseStatement()
924 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseDefaultStatement()
926 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc, in ParseDefaultStatement()
1081 E = Actions.ActOnStmtExprResult(E); in handleExprStmt()
1082 return Actions.ActOnExprStmt(E, /*DiscardedValue=*/!IsStmtExprResult); in handleExprStmt()
1096 Sema::FPFeaturesStateRAII SaveFPFeatures(Actions); in ParseCompoundStatementBody()
1103 Sema::CompoundScopeRAII CompoundScope(Actions, isStmtExpr); in ParseCompoundStatementBody()
1107 Actions.ActOnAfterCompoundStatementLeadingPragmas(); in ParseCompoundStatementBody()
1125 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
1133 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseCompoundStatementBody()
1134 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation()); in ParseCompoundStatementBody()
1180 R = Actions.ActOnDeclStmt(Res, DeclStart, DeclEnd); in ParseCompoundStatementBody()
1195 R = Actions.ActOnAttributedStmt(attrs, R.get()); in ParseCompoundStatementBody()
1229 return Actions.ActOnCompoundStmt(T.getOpenLocation(), CloseLoc, in ParseCompoundStatementBody()
1266 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition()
1282 ExprResult CondExpr = Actions.CreateRecoveryExpr( in ParseParenExprOrCondition()
1284 Actions.PreferredConditionType(CK)); in ParseParenExprOrCondition()
1286 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition()
1520 Actions, Context, nullptr, in ParseIfStatement()
1565 Actions, Context, nullptr, in ParseIfStatement()
1576 Actions.CodeCompleteAfterIf(getCurScope(), IsBracedThen); in ParseIfStatement()
1615 ThenStmt = Actions.ActOnNullStmt(ThenStmtLoc); in ParseIfStatement()
1617 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc); in ParseIfStatement()
1626 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
1673 StmtResult Switch = Actions.ActOnStartOfSwitchStmt( in ParseSwitchStatement()
1715 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
1791 return Actions.ActOnWhileStmt(WhileLoc, LParen, Cond, RParen, Body.get()); in ParseWhileStatement()
1856 Cond = Actions.CorrectDelayedTyposInExpr(Cond); in ParseDoStatement()
1860 Cond = Actions.CreateRecoveryExpr( in ParseDoStatement()
1862 Actions.getASTContext().BoolTy); in ParseDoStatement()
1870 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(), in ParseDoStatement()
1964 FullExprArg ThirdPart(Actions); in ParseForStatement()
1968 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseForStatement()
2006 Actions.ActOnCXXForRangeIdentifier(getCurScope(), Loc, Name, attrs); in ParseForStatement()
2029 FirstPart = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseForStatement()
2039 Actions.ActOnForEachDeclStmt(DG); in ParseForStatement()
2045 Actions.CodeCompleteObjCForCollection(getCurScope(), DG); in ParseForStatement()
2055 Value = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseForStatement()
2062 FirstPart = Actions.ActOnForEachLValueExpr(Value.get()); in ParseForStatement()
2071 FirstPart = Actions.ActOnExprStmt(Value, !IsRangeBasedFor); in ParseForStatement()
2082 Actions.CodeCompleteObjCForCollection(getCurScope(), nullptr); in ParseForStatement()
2147 SecondPart = Actions.ActOnCondition( in ParseForStatement()
2177 ThirdPart = Actions.MakeFullDiscardedValueExpr(Third.get()); in ParseForStatement()
2201 Actions.CorrectDelayedTyposInExpr(ForRangeInfo.RangeExpr.get()); in ParseForStatement()
2202 ForRangeStmt = Actions.ActOnCXXForRangeStmt( in ParseForStatement()
2210 ForEachStmt = Actions.ActOnObjCForCollectionStmt(ForLoc, in ParseForStatement()
2218 Actions.ActOnOpenMPLoopInitialization(ForLoc, FirstPart.get()); in ParseForStatement()
2261 return Actions.FinishObjCForCollectionStmt(ForEachStmt.get(), in ParseForStatement()
2265 return Actions.FinishCXXForRangeStmt(ForRangeStmt.get(), Body.get()); in ParseForStatement()
2267 return Actions.ActOnForStmt(ForLoc, T.getOpenLocation(), FirstPart.get(), in ParseForStatement()
2285 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
2287 Res = Actions.ActOnGotoStmt(GotoLoc, Tok.getLocation(), LD); in ParseGotoStatement()
2298 Res = Actions.ActOnIndirectGotoStmt(GotoLoc, StarLoc, R.get()); in ParseGotoStatement()
2315 return Actions.ActOnContinueStmt(ContinueLoc, getCurScope()); in ParseContinueStatement()
2326 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement()
2344 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement()
2348 Actions.CodeCompleteExpression(getCurScope(), in ParseReturnStatement()
2369 return Actions.ActOnCoreturnStmt(getCurScope(), ReturnLoc, R.get()); in ParseReturnStatement()
2370 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
2416 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, LBraceLoc, in ParseFunctionStatementBody()
2423 PragmaStackSentinel(Actions, "InternalPragmaState", IsCXXMethod); in ParseFunctionStatementBody()
2432 Sema::CompoundScopeRAII CompoundScope(Actions); in ParseFunctionStatementBody()
2433 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false); in ParseFunctionStatementBody()
2437 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get()); in ParseFunctionStatementBody()
2449 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, TryLoc, in ParseFunctionTryBlock()
2456 Actions.ActOnDefaultCtorInitializers(Decl); in ParseFunctionTryBlock()
2462 PragmaStackSentinel(Actions, "InternalPragmaState", IsCXXMethod); in ParseFunctionTryBlock()
2469 Sema::CompoundScopeRAII CompoundScope(Actions); in ParseFunctionTryBlock()
2470 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false); in ParseFunctionTryBlock()
2474 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get()); in ParseFunctionTryBlock()
2574 return Actions.ActOnSEHTryBlock(true /* IsCXXTry */, in ParseCXXTryBlockCommon()
2598 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
2642 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2658 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
2680 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()