Lines Matching refs:Actions

120   return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range);
174 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement);
215 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd);
235 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro);
277 Res = Actions.ActOnFinishFullStmt(Res.get());
408 return Actions.ActOnExprStmtError();
412 Actions.CheckCaseExpression(Expr.get())) {
424 return Actions.ActOnExprStmt(Expr);
463 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */,
495 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression());
518 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get());
535 Actions.ActOnStartSEHFinallyBlock();
539 Actions.ActOnAbortSEHFinallyBlock();
543 return Actions.ActOnFinishSEHFinallyBlock(FinallyLoc, Block.get());
553 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope());
599 SubStmt = Actions.ProcessStmtAttributes(
612 SubStmt = Actions.ActOnNullStmt(ColonLoc);
614 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(),
617 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
621 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
664 Actions.CodeCompleteCase(getCurScope());
678 LHS = Actions.CorrectDelayedTyposInExpr(LHS, [this](class Expr *E) {
679 return Actions.VerifyIntegerConstantExpression(E);
729 Actions.ActOnCaseStmt(CaseLoc, LHS.get(), DotDotDotLoc,
746 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get());
775 SubStmt = Actions.ActOnNullStmt(SourceLocation());
776 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get());
823 SubStmt = Actions.ActOnNullStmt(ColonLoc);
825 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc,
932 Sema::FPContractStateRAII SaveFPContractState(Actions);
939 Sema::CompoundScopeRAII CompoundScope(Actions);
960 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
968 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup);
969 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation());
1008 R = Actions.ActOnDeclStmt(Res, DeclStart, DeclEnd);
1022 R = Actions.ActOnExprStmt(Res);
1038 return Actions.ActOnCompoundStmt(T.getOpenLocation(), CloseLoc,
1069 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get());
1138 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc));
1197 Actions.CodeCompleteAfterIf(getCurScope());
1218 ThenStmt = Actions.ActOnNullStmt(ThenStmtLoc);
1220 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc);
1222 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(),
1266 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar);
1307 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get());
1353 FullExprArg FullCond(Actions.MakeFullExpr(Cond.get(), WhileLoc));
1378 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get());
1446 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(),
1537 FullExprArg SecondPart(Actions);
1540 FullExprArg ThirdPart(Actions);
1544 Actions.CodeCompleteOrdinaryName(getCurScope(),
1577 FirstPart = Actions.ActOnCXXForRangeIdentifier(getCurScope(), Loc, Name,
1593 FirstPart = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation());
1602 Actions.ActOnForEachDeclStmt(DG);
1607 Actions.CodeCompleteObjCForCollection(getCurScope(), DG);
1617 Value = Actions.CorrectDelayedTyposInExpr(ParseExpression());
1624 FirstPart = Actions.ActOnForEachLValueExpr(Value.get());
1626 FirstPart = Actions.ActOnExprStmt(Value);
1635 Actions.CodeCompleteObjCForCollection(getCurScope(), DeclGroupPtrTy());
1675 Second = Actions.ActOnBooleanCondition(getCurScope(), ForLoc,
1679 SecondPart = Actions.MakeFullExpr(Second.get(), ForLoc);
1699 ThirdPart = Actions.MakeFullDiscardedValueExpr(Third.get());
1719 ForRangeStmt = Actions.ActOnCXXForRangeStmt(
1727 ForEachStmt = Actions.ActOnObjCForCollectionStmt(ForLoc,
1735 Actions.ActOnOpenMPLoopInitialization(ForLoc, FirstPart.get());
1773 return Actions.FinishObjCForCollectionStmt(ForEachStmt.get(),
1777 return Actions.FinishCXXForRangeStmt(ForRangeStmt.get(), Body.get());
1779 return Actions.ActOnForStmt(ForLoc, T.getOpenLocation(), FirstPart.get(),
1797 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
1799 Res = Actions.ActOnGotoStmt(GotoLoc, Tok.getLocation(), LD);
1810 Res = Actions.ActOnIndirectGotoStmt(GotoLoc, StarLoc, R.get());
1827 return Actions.ActOnContinueStmt(ContinueLoc, getCurScope());
1838 return Actions.ActOnBreakStmt(BreakLoc, getCurScope());
1857 Actions.CodeCompleteReturn(getCurScope());
1877 return Actions.ActOnCoreturnStmt(ReturnLoc, R.get());
1878 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope());
1915 if (SkipFunctionBodies && (!Decl || Actions.canSkipFunctionBody(Decl)) &&
1918 return Actions.ActOnSkippedFunctionBody(Decl);
1921 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, LBraceLoc,
1927 Sema::VtorDispStackRAII SavedVtorDispStack(Actions, IsCXXMethod);
1936 Sema::CompoundScopeRAII CompoundScope(Actions);
1937 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false);
1941 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get());
1953 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc,
1960 Actions.ActOnDefaultCtorInitializers(Decl);
1962 if (SkipFunctionBodies && Actions.canSkipFunctionBody(Decl) &&
1965 return Actions.ActOnSkippedFunctionBody(Decl);
1971 Sema::VtorDispStackRAII SavedVtorDispStack(Actions, IsCXXMethod);
1978 Sema::CompoundScopeRAII CompoundScope(Actions);
1979 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false);
1983 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get());
2066 return Actions.ActOnSEHTryBlock(true /* IsCXXTry */,
2090 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers);
2134 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl);
2150 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get());
2172 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc,