Lines Matching refs:Actions
98 return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range);
123 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement);
176 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd);
196 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro);
234 Res = Actions.ActOnFinishFullStmt(Res.get());
326 Actions.CheckCaseExpression(Expr.get())) {
338 return Actions.ActOnExprStmt(Expr);
379 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */,
424 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.take(), Block.take());
441 return Actions.ActOnSEHFinallyBlock(FinallyBlock,Block.take());
470 SubStmt = Actions.ActOnNullStmt(ColonLoc);
472 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(),
475 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
479 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
503 // wierdness in the actions), so this is just local grossness :).
521 Actions.CodeCompleteCase(getCurScope());
570 Actions.ActOnCaseStmt(CaseLoc, LHS.get(), DotDotDotLoc,
586 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get());
611 SubStmt = Actions.ActOnNullStmt(SourceLocation());
614 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get());
660 SubStmt = Actions.ActOnNullStmt(ColonLoc);
662 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc,
762 Sema::FPContractStateRAII SaveFPContractState(Actions);
769 Sema::CompoundScopeRAII CompoundScope(Actions);
791 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
799 DeclGroupPtrTy Res = Actions.FinalizeDeclaratorGroup(getCurScope(), DS,
801 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation());
845 R = Actions.ActOnDeclStmt(Res, DeclStart, DeclEnd);
859 R = Actions.ActOnExprStmt(Res);
875 return Actions.ActOnCompoundStmt(T.getOpenLocation(), CloseLoc,
906 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get());
975 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc));
1036 Actions.CodeCompleteAfterIf(getCurScope());
1057 ThenStmt = Actions.ActOnNullStmt(ThenStmtLoc);
1059 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc);
1061 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(),
1105 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar);
1147 Body = Actions.ActOnNullStmt(SynthesizedNullStmtLocation);
1150 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get());
1196 FullExprArg FullCond(Actions.MakeFullExpr(Cond.get(), WhileLoc));
1222 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get());
1293 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(),
1361 FullExprArg SecondPart(Actions);
1364 FullExprArg ThirdPart(Actions);
1368 Actions.CodeCompleteOrdinaryName(getCurScope(),
1398 FirstPart = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation());
1408 Actions.ActOnForEachDeclStmt(DG);
1413 Actions.CodeCompleteObjCForCollection(getCurScope(), DG);
1430 FirstPart = Actions.ActOnForEachLValueExpr(Value.get());
1432 FirstPart = Actions.ActOnExprStmt(Value);
1441 Actions.CodeCompleteObjCForCollection(getCurScope(), DeclGroupPtrTy());
1478 Second = Actions.ActOnBooleanCondition(getCurScope(), ForLoc,
1482 SecondPart = Actions.MakeFullExpr(Second.get(), ForLoc);
1502 ThirdPart = Actions.MakeFullDiscardedValueExpr(Third.take());
1515 ForRangeStmt = Actions.ActOnCXXForRangeStmt(ForLoc, FirstPart.take(),
1525 ForEachStmt = Actions.ActOnObjCForCollectionStmt(ForLoc,
1558 return Actions.FinishObjCForCollectionStmt(ForEachStmt.take(),
1562 return Actions.FinishCXXForRangeStmt(ForRangeStmt.take(), Body.take());
1564 return Actions.ActOnForStmt(ForLoc, T.getOpenLocation(), FirstPart.take(),
1582 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
1584 Res = Actions.ActOnGotoStmt(GotoLoc, Tok.getLocation(), LD);
1595 Res = Actions.ActOnIndirectGotoStmt(GotoLoc, StarLoc, R.take());
1612 return Actions.ActOnContinueStmt(ContinueLoc, getCurScope());
1623 return Actions.ActOnBreakStmt(BreakLoc, getCurScope());
1636 Actions.CodeCompleteReturn(getCurScope());
1655 return Actions.ActOnReturnStmt(ReturnLoc, R.take());
1767 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLoc,
1834 return Actions.ActOnGCCAsmStmt(AsmLoc, /*isSimple*/ true, isVolatile,
1898 return Actions.ActOnGCCAsmStmt(AsmLoc, false, isVolatile, NumOutputs,
1977 if (SkipFunctionBodies && (!Decl || Actions.canSkipFunctionBody(Decl)) &&
1980 return Actions.ActOnSkippedFunctionBody(Decl);
1983 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, LBraceLoc,
1993 Sema::CompoundScopeRAII CompoundScope(Actions);
1994 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc,
1999 return Actions.ActOnFinishFunctionBody(Decl, FnBody.take());
2011 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc,
2018 Actions.ActOnDefaultCtorInitializers(Decl);
2020 if (SkipFunctionBodies && Actions.canSkipFunctionBody(Decl) &&
2023 return Actions.ActOnSkippedFunctionBody(Decl);
2031 Sema::CompoundScopeRAII CompoundScope(Actions);
2032 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc,
2037 return Actions.ActOnFinishFunctionBody(Decl, FnBody.take());
2122 return Actions.ActOnSEHTryBlock(true /* IsCXXTry */,
2145 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.take(),Handlers);
2189 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl);
2205 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.take());
2227 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc,