Lines Matching refs:Actions

122   return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range);  in ParseStatementOrDeclaration()
176 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes()
217 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
237 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
279 Res = Actions.ActOnFinishFullStmt(Res.get()); in ParseStatementOrDeclarationAfterAttributes()
410 return Actions.ActOnExprStmtError(); in ParseExprStatement()
414 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
426 return Actions.ActOnExprStmt(Expr); in ParseExprStatement()
465 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock()
497 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock()
520 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get()); in ParseSEHExceptBlock()
537 Actions.ActOnStartSEHFinallyBlock(); in ParseSEHFinallyBlock()
541 Actions.ActOnAbortSEHFinallyBlock(); in ParseSEHFinallyBlock()
545 return Actions.ActOnFinishSEHFinallyBlock(FinallyLoc, Block.get()); in ParseSEHFinallyBlock()
555 return Actions.ActOnSEHLeaveStmt(LeaveLoc, getCurScope()); in ParseSEHLeaveStatement()
601 SubStmt = Actions.ProcessStmtAttributes( in ParseLabeledStatement()
614 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement()
616 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(), in ParseLabeledStatement()
619 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
623 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement()
666 Actions.CodeCompleteCase(getCurScope()); in ParseCaseStatement()
680 LHS = Actions.CorrectDelayedTyposInExpr(LHS, [this](class Expr *E) { in ParseCaseStatement()
681 return Actions.VerifyIntegerConstantExpression(E); in ParseCaseStatement()
731 Actions.ActOnCaseStmt(CaseLoc, LHS.get(), DotDotDotLoc, in ParseCaseStatement()
748 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get()); in ParseCaseStatement()
777 SubStmt = Actions.ActOnNullStmt(SourceLocation()); in ParseCaseStatement()
778 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get()); in ParseCaseStatement()
825 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseDefaultStatement()
827 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc, in ParseDefaultStatement()
934 Sema::FPContractStateRAII SaveFPContractState(Actions); in ParseCompoundStatementBody()
941 Sema::CompoundScopeRAII CompoundScope(Actions); in ParseCompoundStatementBody()
962 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
970 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup); in ParseCompoundStatementBody()
971 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation()); in ParseCompoundStatementBody()
1010 R = Actions.ActOnDeclStmt(Res, DeclStart, DeclEnd); in ParseCompoundStatementBody()
1024 R = Actions.ActOnExprStmt(Res); in ParseCompoundStatementBody()
1040 return Actions.ActOnCompoundStmt(T.getOpenLocation(), CloseLoc, in ParseCompoundStatementBody()
1072 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK); in ParseParenExprOrCondition()
1182 Actions, Sema::DiscardedStatement, nullptr, false, in ParseIfStatement()
1215 Actions, Sema::DiscardedStatement, nullptr, false, in ParseIfStatement()
1222 Actions.CodeCompleteAfterIf(getCurScope()); in ParseIfStatement()
1243 ThenStmt = Actions.ActOnNullStmt(ThenStmtLoc); in ParseIfStatement()
1245 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc); in ParseIfStatement()
1247 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
1292 Actions.ActOnStartOfSwitchStmt(SwitchLoc, InitStmt.get(), Cond); in ParseSwitchStatement()
1333 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get()); in ParseSwitchStatement()
1402 return Actions.ActOnWhileStmt(WhileLoc, Cond, Body.get()); in ParseWhileStatement()
1470 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(), in ParseDoStatement()
1563 FullExprArg ThirdPart(Actions); in ParseForStatement()
1566 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseForStatement()
1599 FirstPart = Actions.ActOnCXXForRangeIdentifier(getCurScope(), Loc, Name, in ParseForStatement()
1615 FirstPart = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation()); in ParseForStatement()
1624 Actions.ActOnForEachDeclStmt(DG); in ParseForStatement()
1629 Actions.CodeCompleteObjCForCollection(getCurScope(), DG); in ParseForStatement()
1639 Value = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseForStatement()
1646 FirstPart = Actions.ActOnForEachLValueExpr(Value.get()); in ParseForStatement()
1648 FirstPart = Actions.ActOnExprStmt(Value); in ParseForStatement()
1657 Actions.CodeCompleteObjCForCollection(getCurScope(), nullptr); in ParseForStatement()
1699 Actions.ActOnCondition(getCurScope(), ForLoc, SecondExpr.get(), in ParseForStatement()
1721 ThirdPart = Actions.MakeFullDiscardedValueExpr(Third.get()); in ParseForStatement()
1742 Actions.CorrectDelayedTyposInExpr(ForRangeInit.RangeExpr.get()); in ParseForStatement()
1743 ForRangeStmt = Actions.ActOnCXXForRangeStmt( in ParseForStatement()
1751 ForEachStmt = Actions.ActOnObjCForCollectionStmt(ForLoc, in ParseForStatement()
1759 Actions.ActOnOpenMPLoopInitialization(ForLoc, FirstPart.get()); in ParseForStatement()
1797 return Actions.FinishObjCForCollectionStmt(ForEachStmt.get(), in ParseForStatement()
1801 return Actions.FinishCXXForRangeStmt(ForRangeStmt.get(), Body.get()); in ParseForStatement()
1803 return Actions.ActOnForStmt(ForLoc, T.getOpenLocation(), FirstPart.get(), in ParseForStatement()
1821 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseGotoStatement()
1823 Res = Actions.ActOnGotoStmt(GotoLoc, Tok.getLocation(), LD); in ParseGotoStatement()
1834 Res = Actions.ActOnIndirectGotoStmt(GotoLoc, StarLoc, R.get()); in ParseGotoStatement()
1851 return Actions.ActOnContinueStmt(ContinueLoc, getCurScope()); in ParseContinueStatement()
1862 return Actions.ActOnBreakStmt(BreakLoc, getCurScope()); in ParseBreakStatement()
1881 Actions.CodeCompleteReturn(getCurScope()); in ParseReturnStatement()
1901 return Actions.ActOnCoreturnStmt(ReturnLoc, R.get()); in ParseReturnStatement()
1902 return Actions.ActOnReturnStmt(ReturnLoc, R.get(), getCurScope()); in ParseReturnStatement()
1939 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, LBraceLoc, in ParseFunctionStatementBody()
1946 PragmaStackSentinel(Actions, "InternalPragmaState", IsCXXMethod); in ParseFunctionStatementBody()
1955 Sema::CompoundScopeRAII CompoundScope(Actions); in ParseFunctionStatementBody()
1956 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false); in ParseFunctionStatementBody()
1960 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get()); in ParseFunctionStatementBody()
1972 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc, in ParseFunctionTryBlock()
1979 Actions.ActOnDefaultCtorInitializers(Decl); in ParseFunctionTryBlock()
1985 PragmaStackSentinel(Actions, "InternalPragmaState", IsCXXMethod); in ParseFunctionTryBlock()
1992 Sema::CompoundScopeRAII CompoundScope(Actions); in ParseFunctionTryBlock()
1993 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, None, false); in ParseFunctionTryBlock()
1997 return Actions.ActOnFinishFunctionBody(Decl, FnBody.get()); in ParseFunctionTryBlock()
2096 return Actions.ActOnSEHTryBlock(true /* IsCXXTry */, in ParseCXXTryBlockCommon()
2120 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.get(), Handlers); in ParseCXXTryBlockCommon()
2164 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl); in ParseCXXCatchBlock()
2180 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.get()); in ParseCXXCatchBlock()
2202 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()