Lines Matching refs:Actions
115 return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range);
169 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement);
209 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd);
229 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro);
271 Res = Actions.ActOnFinishFullStmt(Res.get());
398 return Actions.ActOnExprStmtError();
402 Actions.CheckCaseExpression(Expr.get())) {
414 return Actions.ActOnExprStmt(Expr);
453 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */,
485 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression());
508 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get());
525 Actions.ActOnStartSEHFinallyBlock();
529 Actions.ActOnAbortSEHFinallyBlock();
533 return Actions.ActOnFinishSEHFinallyBlock(FinallyLoc, Block.get());
543 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope());
588 SubStmt = Actions.ProcessStmtAttributes(
601 SubStmt = Actions.ActOnNullStmt(ColonLoc);
603 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(),
606 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
610 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
634 // weirdness in the actions), so this is just local grossness :).
653 Actions.CodeCompleteCase(getCurScope());
667 LHS = Actions.CorrectDelayedTyposInExpr(LHS, [this](class Expr *E) {
668 return Actions.VerifyIntegerConstantExpression(E);
718 Actions.ActOnCaseStmt(CaseLoc, LHS.get(), DotDotDotLoc,
734 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get());
762 SubStmt = Actions.ActOnNullStmt(SourceLocation());
763 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get());
809 SubStmt = Actions.ActOnNullStmt(ColonLoc);
811 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc,
915 Sema::FPContractStateRAII SaveFPContractState(Actions);
922 Sema::CompoundScopeRAII CompoundScope(Actions);
943 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
951 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup);
952 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation());
991 R = Actions.ActOnDeclStmt(Res, DeclStart, DeclEnd);
1005 R = Actions.ActOnExprStmt(Res);
1021 return Actions.ActOnCompoundStmt(T.getOpenLocation(), CloseLoc,
1052 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get());
1121 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc));
1180 Actions.CodeCompleteAfterIf(getCurScope());
1201 ThenStmt = Actions.ActOnNullStmt(ThenStmtLoc);
1203 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc);
1205 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(),
1249 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar);
1290 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get());
1336 FullExprArg FullCond(Actions.MakeFullExpr(Cond.get(), WhileLoc));
1361 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get());
1429 Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(),
1520 FullExprArg SecondPart(Actions);
1523 FullExprArg ThirdPart(Actions);
1527 Actions.CodeCompleteOrdinaryName(getCurScope(),
1560 FirstPart = Actions.ActOnCXXForRangeIdentifier(getCurScope(), Loc, Name,
1576 FirstPart = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation());
1585 Actions.ActOnForEachDeclStmt(DG);
1590 Actions.CodeCompleteObjCForCollection(getCurScope(), DG);
1600 Value = Actions.CorrectDelayedTyposInExpr(ParseExpression());
1607 FirstPart = Actions.ActOnForEachLValueExpr(Value.get());
1609 FirstPart = Actions.ActOnExprStmt(Value);
1618 Actions.CodeCompleteObjCForCollection(getCurScope(), DeclGroupPtrTy());
1658 Second = Actions.ActOnBooleanCondition(getCurScope(), ForLoc,
1662 SecondPart = Actions.MakeFullExpr(Second.get(), ForLoc);
1682 ThirdPart = Actions.MakeFullDiscardedValueExpr(Third.get());
1702 ForRangeStmt = Actions.ActOnCXXForRangeStmt(
1710 ForEachStmt = Actions.ActOnObjCForCollectionStmt(ForLoc,
1718 Actions.ActOnOpenMPLoopInitialization(ForLoc, FirstPart.get());
1756 return Actions.FinishObjCForCollectionStmt(ForEachStmt.get(),
1760 return Actions.FinishCXXForRangeStmt(ForRangeStmt.get(), Body.get());
1762 return Actions.ActOnForStmt(ForLoc, T.getOpenLocation(), FirstPart.get(),
1780 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
1782 Res = Actions.ActOnGotoStmt(GotoLoc, Tok.getLocation(), LD);
1793 Res = Actions.ActOnIndirectGotoStmt(GotoLoc, StarLoc, R.get());
1810 return Actions.ActOnContinueStmt(ContinueLoc, getCurScope());
1821 return Actions.ActOnBreakStmt(BreakLoc, getCurScope());
1840 Actions.CodeCompleteReturn(getCurScope());
1860 return Actions.ActOnCoreturnStmt(ReturnLoc, R.get());
1861 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope());
1897 if (SkipFunctionBodies && (!Decl || Actions.canSkipFunctionBody(Decl)) &&
1900 return Actions.ActOnSkippedFunctionBody(Decl);
1903 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, LBraceLoc,
1909 Sema::VtorDispStackRAII SavedVtorDispStack(Actions, IsCXXMethod);
1918 Sema::CompoundScopeRAII CompoundScope(Actions);
1919 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false);
1923 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get());
1935 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc,
1942 Actions.ActOnDefaultCtorInitializers(Decl);
1944 if (SkipFunctionBodies && Actions.canSkipFunctionBody(Decl) &&
1947 return Actions.ActOnSkippedFunctionBody(Decl);
1953 Sema::VtorDispStackRAII SavedVtorDispStack(Actions, IsCXXMethod);
1960 Sema::CompoundScopeRAII CompoundScope(Actions);
1961 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false);
1965 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get());
2048 return Actions.ActOnSEHTryBlock(true /* IsCXXTry */,
2072 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers);
2116 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl);
2132 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get());
2154 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc,