Home | History | Annotate | Download | only in Parse

Lines Matching refs:Actions

150     LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__,
159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression);
202 EnterExpressionEvaluationContext Unevaluated(Actions,
207 return Actions.ActOnConstantExpression(Res);
300 Actions.CorrectDelayedTyposInExpr(LHS);
344 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get());
372 Actions.CorrectDelayedTyposInExpr(LHS);
374 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle);
394 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get());
409 Actions.CorrectDelayedTyposInExpr(LHS);
411 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle);
422 << Actions.getExprRange(RHS.get());
426 << Actions.getExprRange(RHS.get());
440 SourceRange(Actions.getExprRange(LHS.get()).getBegin(),
441 Actions.getExprRange(RHS.get()).getEnd()));
443 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(),
446 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc,
451 Actions.CorrectDelayedTyposInExpr(RHS);
733 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope());
747 return Actions.ActOnCXXNullPtrLiteral(ConsumeToken());
870 (Actions.getTypeName(II, ILoc, getCurScope()) ||
884 Res = Actions.ActOnClassPropertyRefExpr(II, PropertyName,
914 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope()))
923 Actions.getASTContext().getPrintingPolicy());
926 TypeResult Ty = Actions.ActOnTypeName(getCurScope(),
959 Res = Actions.ActOnIdExpression(
976 Res = Actions.ActOnCharacterConstant(Tok, /*UDLScope*/getCurScope());
985 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind);
1005 return Actions.ActOnGNUNullExpr(ConsumeToken());
1021 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1029 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1043 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1051 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get());
1061 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get());
1086 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(),
1088 Res = Actions.ActOnAddrLabel(AmpAmpLoc, Tok.getLocation(), LD);
1121 Actions.getASTContext().getPrintingPolicy());
1124 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
1166 if (!Actions.isSimpleTypeSpecifier(Tok.getKind()))
1275 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated);
1281 Result = Actions.ActOnNoexceptExpr(KeyLoc, T.getOpenLocation(),
1307 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression);
1372 Actions.CodeCompletePostfixExpression(getCurScope(), LHS);
1436 LHS = Actions.ActOnOMPArraySectionExpr(LHS.get(), Loc, Idx.get(),
1439 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.get(), Loc,
1443 (void)Actions.CorrectDelayedTyposInExpr(LHS);
1444 (void)Actions.CorrectDelayedTyposInExpr(Idx);
1445 (void)Actions.CorrectDelayedTyposInExpr(Length);
1471 (void)Actions.CorrectDelayedTyposInExpr(LHS);
1495 ExprResult ECResult = Actions.ActOnCUDAExecConfigExpr(getCurScope(),
1513 Actions.CodeCompleteCall(getCurScope(), LHS.get(), None);
1521 Actions.CodeCompleteCall(getCurScope(), LHS.get(), ArgExprs);
1523 (void)Actions.CorrectDelayedTyposInExpr(LHS);
1527 Actions.CorrectDelayedTyposInExpr(E);
1537 if (Actions.CorrectDelayedTyposInExpr(LHS).get() != LHS.get())
1540 if (Actions.CorrectDelayedTyposInExpr(E).get() != E)
1554 LHS = Actions.ActOnCallExpr(getCurScope(), LHS.get(), Loc,
1584 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base,
1599 Actions.CodeCompleteMemberReferenceExpr(getCurScope(), LHS.get(),
1639 (void)Actions.CorrectDelayedTyposInExpr(LHS);
1644 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc,
1653 LHS = Actions.ActOnPostfixUnaryOp(getCurScope(), Tok.getLocation(),
1821 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated,
1824 return Actions.ActOnSizeofParameterPackExpr(getCurScope(),
1833 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated,
1853 return Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(),
1864 Operand = Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(),
1925 Res = Actions.ActOnVAArg(StartLoc, Expr.get(), Ty.get(), ConsumeParen());
1999 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc,
2038 Res = Actions.ActOnChooseExpr(StartLoc, Cond.get(), Expr1.get(),
2067 Res = Actions.ActOnAsTypeExpr(Expr.get(), DestTy.get(), StartLoc,
2096 Res = Actions.ActOnConvertVectorExpr(Expr.get(), DestTy.get(), StartLoc,
2151 Actions.CodeCompleteOrdinaryName(getCurScope(),
2187 DeclContext *CodeDC = Actions.CurContext;
2193 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false);
2195 Actions.ActOnStartStmtExpr();
2202 Result = Actions.ActOnStmtExpr(OpenLoc, Stmt.get(), Tok.getLocation());
2204 Actions.ActOnStmtExprError();
2239 return Actions.ActOnObjCBridgedCast(getCurScope(), OpenLoc, Kind,
2274 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2289 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2306 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo);
2328 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc,
2356 Result = Actions.ActOnParenListExpr(OpenLoc, Tok.getLocation(),
2366 Result = Actions.CorrectDelayedTyposInExpr(Result);
2376 Actions.ActOnParenExpr(OpenLoc, Tok.getLocation(), Result.get());
2407 return Actions.ActOnCompoundLiteral(LParenLoc, Ty, RParenLoc, Result.get());
2431 // Pass the set of string tokens, ready for concatenation, to the actions.
2432 return Actions.ActOnStringLiteral(StringToks,
2465 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated);
2467 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression());
2514 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()));
2526 return Actions.ActOnGenericSelectionExpr(KeyLoc, DefaultLoc,
2581 return Actions.ActOnCXXFoldExpr(T.getOpenLocation(), LHS.get(), Kind,
2616 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression);
2629 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken());
2646 ExprResult Expr = Actions.CorrectDelayedTyposInExpr(E);
2687 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type);
2702 Actions.ActOnBlockArguments(CaretLoc, DeclaratorInfo, getCurScope());
2730 Actions.ActOnBlockStart(CaretLoc, getCurScope());
2753 Actions.ActOnBlockError(CaretLoc, getCurScope());
2760 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope());
2795 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope());
2803 Actions.ActOnBlockError(CaretLoc, getCurScope());
2810 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope());
2812 Actions.ActOnBlockError(CaretLoc, getCurScope());
2822 return Actions.ActOnObjCBoolLiteral(ConsumeToken(), Kind);