Lines Matching refs:Actions
150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression()
202 EnterExpressionEvaluationContext Unevaluated(Actions, in ParseConstantExpression()
207 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression()
303 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
347 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression()
375 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
377 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
397 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
412 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
414 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
425 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
429 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
444 SourceRange(Actions.getExprRange(LHS.get()).getBegin(), in ParseRHSOfBinaryExpression()
445 Actions.getExprRange(RHS.get()).getEnd())); in ParseRHSOfBinaryExpression()
447 LHS = Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression()
454 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc, in ParseRHSOfBinaryExpression()
461 Actions.CorrectDelayedTyposInExpr(OrigLHS); in ParseRHSOfBinaryExpression()
462 Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
463 Actions.CorrectDelayedTyposInExpr(RHS); in ParseRHSOfBinaryExpression()
746 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
760 return Actions.ActOnCXXNullPtrLiteral(ConsumeToken()); in ParseCastExpression()
884 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression()
898 Res = Actions.ActOnClassPropertyRefExpr(II, PropertyName, in ParseCastExpression()
928 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression()
937 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
940 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression()
973 Res = Actions.ActOnIdExpression( in ParseCastExpression()
990 Res = Actions.ActOnCharacterConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
999 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind); in ParseCastExpression()
1019 return Actions.ActOnGNUNullExpr(ConsumeToken()); in ParseCastExpression()
1043 Res = Actions.ActOnUnaryOp(getCurScope(), SavedTok.getLocation(), in ParseCastExpression()
1052 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get()); in ParseCastExpression()
1066 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get()); in ParseCastExpression()
1074 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get()); in ParseCastExpression()
1084 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get()); in ParseCastExpression()
1109 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseCastExpression()
1111 Res = Actions.ActOnAddrLabel(AmpAmpLoc, Tok.getLocation(), LD); in ParseCastExpression()
1144 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1147 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseCastExpression()
1193 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) in ParseCastExpression()
1302 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated); in ParseCastExpression()
1308 Result = Actions.ActOnNoexceptExpr(KeyLoc, T.getOpenLocation(), in ParseCastExpression()
1334 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseCastExpression()
1414 Actions.CodeCompletePostfixExpression(getCurScope(), LHS); in ParsePostfixExpressionSuffix()
1447 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1481 LHS = Actions.ActOnOMPArraySectionExpr(LHS.get(), Loc, Idx.get(), in ParsePostfixExpressionSuffix()
1484 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.get(), Loc, in ParsePostfixExpressionSuffix()
1491 (void)Actions.CorrectDelayedTyposInExpr(OrigLHS); in ParsePostfixExpressionSuffix()
1492 (void)Actions.CorrectDelayedTyposInExpr(Idx); in ParsePostfixExpressionSuffix()
1493 (void)Actions.CorrectDelayedTyposInExpr(Length); in ParsePostfixExpressionSuffix()
1519 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1543 ExprResult ECResult = Actions.ActOnCUDAExecConfigExpr(getCurScope(), in ParsePostfixExpressionSuffix()
1561 Actions.CodeCompleteCall(getCurScope(), LHS.get(), None); in ParsePostfixExpressionSuffix()
1569 Actions.CodeCompleteCall(getCurScope(), LHS.get(), ArgExprs); in ParsePostfixExpressionSuffix()
1571 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1575 Actions.CorrectDelayedTyposInExpr(E); in ParsePostfixExpressionSuffix()
1585 if (Actions.CorrectDelayedTyposInExpr(LHS).get() != LHS.get()) in ParsePostfixExpressionSuffix()
1588 if (Actions.CorrectDelayedTyposInExpr(E).get() != E) in ParsePostfixExpressionSuffix()
1602 LHS = Actions.ActOnCallExpr(getCurScope(), LHS.get(), Loc, in ParsePostfixExpressionSuffix()
1632 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, in ParsePostfixExpressionSuffix()
1647 Actions.CodeCompleteMemberReferenceExpr(getCurScope(), LHS.get(), in ParsePostfixExpressionSuffix()
1687 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1692 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
1701 LHS = Actions.ActOnPostfixUnaryOp(getCurScope(), Tok.getLocation(), in ParsePostfixExpressionSuffix()
1869 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated, in ParseUnaryExprOrTypeTraitExpression()
1872 return Actions.ActOnSizeofParameterPackExpr(getCurScope(), in ParseUnaryExprOrTypeTraitExpression()
1881 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated, in ParseUnaryExprOrTypeTraitExpression()
1901 return Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(), in ParseUnaryExprOrTypeTraitExpression()
1912 Operand = Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(), in ParseUnaryExprOrTypeTraitExpression()
1973 Res = Actions.ActOnVAArg(StartLoc, Expr.get(), Ty.get(), ConsumeParen()); in ParseBuiltinPrimaryExpression()
2047 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc, in ParseBuiltinPrimaryExpression()
2086 Res = Actions.ActOnChooseExpr(StartLoc, Cond.get(), Expr1.get(), in ParseBuiltinPrimaryExpression()
2115 Res = Actions.ActOnAsTypeExpr(Expr.get(), DestTy.get(), StartLoc, in ParseBuiltinPrimaryExpression()
2144 Res = Actions.ActOnConvertVectorExpr(Expr.get(), DestTy.get(), StartLoc, in ParseBuiltinPrimaryExpression()
2199 Actions.CodeCompleteOrdinaryName(getCurScope(), in ParseParenExpression()
2235 DeclContext *CodeDC = Actions.CurContext; in ParseParenExpression()
2241 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
2243 Actions.ActOnStartStmtExpr(); in ParseParenExpression()
2250 Result = Actions.ActOnStmtExpr(OpenLoc, Stmt.get(), Tok.getLocation()); in ParseParenExpression()
2252 Actions.ActOnStmtExprError(); in ParseParenExpression()
2287 return Actions.ActOnObjCBridgedCast(getCurScope(), OpenLoc, Kind, in ParseParenExpression()
2322 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2337 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2354 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2376 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
2404 Result = Actions.ActOnParenListExpr(OpenLoc, Tok.getLocation(), in ParseParenExpression()
2414 Result = Actions.CorrectDelayedTyposInExpr(Result); in ParseParenExpression()
2424 Actions.ActOnParenExpr(OpenLoc, Tok.getLocation(), Result.get()); in ParseParenExpression()
2455 return Actions.ActOnCompoundLiteral(LParenLoc, Ty, RParenLoc, Result.get()); in ParseCompoundLiteralExpression()
2480 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
2513 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated); in ParseGenericSelectionExpression()
2515 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseGenericSelectionExpression()
2562 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseGenericSelectionExpression()
2574 return Actions.ActOnGenericSelectionExpr(KeyLoc, DefaultLoc, in ParseGenericSelectionExpression()
2629 return Actions.ActOnCXXFoldExpr(T.getOpenLocation(), LHS.get(), Kind, in ParseFoldExpression()
2664 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseExpressionList()
2677 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken()); in ParseExpressionList()
2694 ExprResult Expr = Actions.CorrectDelayedTyposInExpr(E); in ParseExpressionList()
2735 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type); in ParseBlockId()
2750 Actions.ActOnBlockArguments(CaretLoc, DeclaratorInfo, getCurScope()); in ParseBlockId()
2778 Actions.ActOnBlockStart(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
2801 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
2808 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
2843 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
2851 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
2858 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope()); in ParseBlockLiteralExpression()
2860 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
2870 return Actions.ActOnObjCBoolLiteral(ConsumeToken(), Kind); in ParseObjCBoolLiteral()