Home | History | Annotate | Download | only in Parse

Lines Matching refs:Actions

111   return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range);
136 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement);
189 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd);
209 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro);
247 Res = Actions.ActOnFinishFullStmt(Res.get());
342 return Actions.ActOnExprStmtError();
346 Actions.CheckCaseExpression(Expr.get())) {
358 return Actions.ActOnExprStmt(Expr);
399 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */,
444 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.take(), Block.take());
461 return Actions.ActOnSEHFinallyBlock(FinallyBlock,Block.take());
490 SubStmt = Actions.ActOnNullStmt(ColonLoc);
492 LabelDecl *LD = Actions.LookupOrCreateLabel(IdentTok.getIdentifierInfo(),
495 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
499 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
523 // wierdness in the actions), so this is just local grossness :).
541 Actions.CodeCompleteCase(getCurScope());
590 Actions.ActOnCaseStmt(CaseLoc, LHS.get(), DotDotDotLoc,
606 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, Case.get());
631 SubStmt = Actions.ActOnNullStmt(SourceLocation());
634 Actions.ActOnCaseStmtBody(DeepestParsedCaseStmt, SubStmt.get());
680 SubStmt = Actions.ActOnNullStmt(ColonLoc);
682 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc,
782 Sema::FPContractStateRAII SaveFPContractState(Actions);
789 Sema::CompoundScopeRAII CompoundScope(Actions);
811 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc));
820 Actions.FinalizeDeclaratorGroup(getCurScope(), DS, DeclsInGroup);
821 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation());
865 R = Actions.ActOnDeclStmt(Res, DeclStart, DeclEnd);
879 R = Actions.ActOnExprStmt(Res);
895 return Actions.ActOnCompoundStmt(T.getOpenLocation(), CloseLoc,
926 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get());
995 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc));
1056 Actions.CodeCompleteAfterIf(getCurScope());
1077 ThenStmt = Actions.ActOnNullStmt(ThenStmtLoc);
1079 ElseStmt = Actions.ActOnNullStmt(ElseStmtLoc);
1081 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(),
1125 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar);
1167 Body = Actions.ActOnNullStmt(SynthesizedNullStmtLocation);
1170 return Actions.ActOnFinishSwitchStmt(SwitchLoc, Switch.get(), Body.get());
1216 FullExprArg FullCond(Actions.MakeFullExpr(Cond.get(), WhileLoc));
1242 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get());
1313 return Actions.ActOnDoStmt(DoLoc, Body.get(), WhileLoc, T.getOpenLocation(),
1381 FullExprArg SecondPart(Actions);
1384 FullExprArg ThirdPart(Actions);
1388 Actions.CodeCompleteOrdinaryName(getCurScope(),
1418 FirstPart = Actions.ActOnDeclStmt(DG, DeclStart, Tok.getLocation());
1428 Actions.ActOnForEachDeclStmt(DG);
1433 Actions.CodeCompleteObjCForCollection(getCurScope(), DG);
1450 FirstPart = Actions.ActOnForEachLValueExpr(Value.get());
1452 FirstPart = Actions.ActOnExprStmt(Value);
1461 Actions.CodeCompleteObjCForCollection(getCurScope(), DeclGroupPtrTy());
1498 Second = Actions.ActOnBooleanCondition(getCurScope(), ForLoc,
1502 SecondPart = Actions.MakeFullExpr(Second.get(), ForLoc);
1522 ThirdPart = Actions.MakeFullDiscardedValueExpr(Third.take());
1535 ForRangeStmt = Actions.ActOnCXXForRangeStmt(ForLoc, FirstPart.take(),
1545 ForEachStmt = Actions.ActOnObjCForCollectionStmt(ForLoc,
1578 return Actions.FinishObjCForCollectionStmt(ForEachStmt.take(),
1582 return Actions.FinishCXXForRangeStmt(ForRangeStmt.take(), Body.take());
1584 return Actions.ActOnForStmt(ForLoc, T.getOpenLocation(), FirstPart.take(),
1602 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
1604 Res = Actions.ActOnGotoStmt(GotoLoc, Tok.getLocation(), LD);
1615 Res = Actions.ActOnIndirectGotoStmt(GotoLoc, StarLoc, R.take());
1632 return Actions.ActOnContinueStmt(ContinueLoc, getCurScope());
1643 return Actions.ActOnBreakStmt(BreakLoc, getCurScope());
1656 Actions.CodeCompleteReturn(getCurScope());
1675 return Actions.ActOnReturnStmt(ReturnLoc, R.take());
1890 return Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info,
2067 llvm::Triple TheTriple = Actions.Context.getTargetInfo().getTriple();
2077 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLoc, AsmToks, StringRef(),
2158 OpExpr = Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr)
2166 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLoc, AsmToks, AsmStringIR,
2237 return Actions.ActOnGCCAsmStmt(AsmLoc, /*isSimple*/ true, isVolatile,
2301 return Actions.ActOnGCCAsmStmt(AsmLoc, false, isVolatile, NumOutputs,
2380 if (SkipFunctionBodies && (!Decl || Actions.canSkipFunctionBody(Decl)) &&
2383 return Actions.ActOnSkippedFunctionBody(Decl);
2386 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, LBraceLoc,
2396 Sema::CompoundScopeRAII CompoundScope(Actions);
2397 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc,
2402 return Actions.ActOnFinishFunctionBody(Decl, FnBody.take());
2414 PrettyDeclStackTraceEntry CrashInfo(Actions, Decl, TryLoc,
2421 Actions.ActOnDefaultCtorInitializers(Decl);
2423 if (SkipFunctionBodies && Actions.canSkipFunctionBody(Decl) &&
2426 return Actions.ActOnSkippedFunctionBody(Decl);
2434 Sema::CompoundScopeRAII CompoundScope(Actions);
2435 FnBody = Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc,
2440 return Actions.ActOnFinishFunctionBody(Decl, FnBody.take());
2525 return Actions.ActOnSEHTryBlock(true /* IsCXXTry */,
2548 return Actions.ActOnCXXTryBlock(TryLoc, TryBlock.take(),Handlers);
2592 ExceptionDecl = Actions.ActOnExceptionDeclarator(getCurScope(), ExDecl);
2608 return Actions.ActOnCXXCatchBlock(CatchLoc, ExceptionDecl, Block.take());
2630 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc,