Lines Matching refs:Actions
153 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
163 Actions.CodeCompleteExpression(getCurScope(), in ParseAssignmentExpression()
202 assert(Actions.ExprEvalContexts.back().Context == in ParseConstantExpressionInExprEvalContext()
208 return Actions.ActOnConstantExpression(Res); in ParseConstantExpressionInExprEvalContext()
217 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseConstantExpression()
223 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseCaseExpression()
226 return Actions.ActOnCaseExpr(CaseLoc, Res); in ParseCaseExpression()
237 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseConstraintExpression()
240 if (Res.isUsable() && !Actions.CheckConstraintExpression(Res.get())) { in ParseConstraintExpression()
241 Actions.CorrectDelayedTyposInExpr(Res); in ParseConstraintExpression()
259 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseConstraintLogicalAndExpression()
302 Actions.CheckConstraintExpression(E.get(), Tok, &PossibleNonPrimary, in ParseConstraintLogicalAndExpression()
311 Actions.CorrectDelayedTyposInExpr(E); in ParseConstraintLogicalAndExpression()
323 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalAndExpression()
326 ExprResult Op = Actions.ActOnBinOp(getCurScope(), LogicalAndLoc, in ParseConstraintLogicalAndExpression()
329 Actions.CorrectDelayedTyposInExpr(RHS); in ParseConstraintLogicalAndExpression()
330 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalAndExpression()
358 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalOrExpression()
361 ExprResult Op = Actions.ActOnBinOp(getCurScope(), LogicalOrLoc, in ParseConstraintLogicalOrExpression()
364 Actions.CorrectDelayedTyposInExpr(RHS); in ParseConstraintLogicalOrExpression()
365 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalOrExpression()
471 << Actions.getExprRange(TernaryMiddle.get()); in ParseRHSOfBinaryExpression()
491 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
526 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), in ParseRHSOfBinaryExpression()
551 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
553 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
573 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
588 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
590 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
601 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
605 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
610 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
625 SourceRange(Actions.getExprRange(LHS.get()).getBegin(), in ParseRHSOfBinaryExpression()
626 Actions.getExprRange(RHS.get()).getEnd())); in ParseRHSOfBinaryExpression()
629 Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression()
632 BinOp = Actions.CreateRecoveryExpr(LHS.get()->getBeginLoc(), in ParseRHSOfBinaryExpression()
638 ExprResult CondOp = Actions.ActOnConditionalOp( in ParseRHSOfBinaryExpression()
648 CondOp = Actions.CreateRecoveryExpr(LHS.get()->getBeginLoc(), in ParseRHSOfBinaryExpression()
662 Actions.CorrectDelayedTyposInExpr(OrigLHS); in ParseRHSOfBinaryExpression()
663 Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
664 Actions.CorrectDelayedTyposInExpr(RHS); in ParseRHSOfBinaryExpression()
992 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
1008 Res = Actions.ActOnCXXNullPtrLiteral(ConsumeToken()); in ParseCastExpression()
1015 Res = Actions.ActOnNameClassifiedAsOverloadSet(getCurScope(), Res.get()); in ParseCastExpression()
1154 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression()
1161 Actions.CodeCompleteObjCClassPropertyRefExpr( in ParseCastExpression()
1174 Res = Actions.ActOnClassPropertyRefExpr(II, PropertyName, in ParseCastExpression()
1204 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression()
1213 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1217 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), in ParseCastExpression()
1252 Res = Actions.ActOnIdExpression( in ParseCastExpression()
1273 Res = Actions.ActOnCharacterConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
1283 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind); in ParseCastExpression()
1314 Res = Actions.ActOnGNUNullExpr(ConsumeToken()); in ParseCastExpression()
1328 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedTok.getKind(), in ParseCastExpression()
1346 Res = Actions.ActOnUnaryOp(getCurScope(), SavedTok.getLocation(), in ParseCastExpression()
1349 Res = Actions.CreateRecoveryExpr(SavedTok.getLocation(), in ParseCastExpression()
1359 PreferredType.enterUnary(Actions, Tok.getLocation(), tok::amp, SavedLoc); in ParseCastExpression()
1363 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Arg); in ParseCastExpression()
1365 Res = Actions.CreateRecoveryExpr(Tok.getLocation(), Arg->getEndLoc(), in ParseCastExpression()
1381 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedKind, SavedLoc); in ParseCastExpression()
1385 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Arg); in ParseCastExpression()
1387 Res = Actions.CreateRecoveryExpr(SavedLoc, Arg->getEndLoc(), Arg); in ParseCastExpression()
1398 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get()); in ParseCastExpression()
1410 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get()); in ParseCastExpression()
1441 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseCastExpression()
1443 Res = Actions.ActOnAddrLabel(AmpAmpLoc, Tok.getLocation(), LD); in ParseCastExpression()
1492 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1496 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseCastExpression()
1553 if (!Actions.isSimpleTypeSpecifier(Tok.getKind())) in ParseCastExpression()
1695 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseCastExpression()
1701 Res = Actions.ActOnNoexceptExpr(KeyLoc, T.getOpenLocation(), Res.get(), in ParseCastExpression()
1738 Actions.CodeCompleteExpression(getCurScope(), in ParseCastExpression()
1871 Actions.CodeCompletePostfixExpression( in ParsePostfixExpressionSuffix()
1904 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1914 PreferredType.enterSubscript(Actions, Tok.getLocation(), LHS.get()); in ParsePostfixExpressionSuffix()
1929 LHS = Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1930 Idx = Actions.CorrectDelayedTyposInExpr(Idx); in ParsePostfixExpressionSuffix()
1939 LHS = Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1957 Length = Actions.CorrectDelayedTyposInExpr(Length); in ParsePostfixExpressionSuffix()
1973 LHS = Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
1978 LHS = Actions.ActOnOMPArraySectionExpr( in ParsePostfixExpressionSuffix()
1982 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.get(), Loc, in ParsePostfixExpressionSuffix()
2010 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2034 ExprResult ECResult = Actions.ActOnCUDAExecConfigExpr(getCurScope(), in ParsePostfixExpressionSuffix()
2051 QualType PreferredType = Actions.ProduceCallSignatureHelp( in ParsePostfixExpressionSuffix()
2062 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2072 Actions.CorrectDelayedTyposInExpr(E); in ParsePostfixExpressionSuffix()
2082 if (Actions.CorrectDelayedTyposInExpr(LHS).get() != LHS.get()) in ParsePostfixExpressionSuffix()
2085 if (Actions.CorrectDelayedTyposInExpr(E).get() != E) in ParsePostfixExpressionSuffix()
2101 LHS = Actions.ActOnCallExpr(getCurScope(), Fn, Loc, ArgExprs, RParLoc, in ParsePostfixExpressionSuffix()
2106 Actions.CreateRecoveryExpr(Fn->getBeginLoc(), RParLoc, ArgExprs); in ParsePostfixExpressionSuffix()
2125 PreferredType.enterMemAccess(Actions, Tok.getLocation(), OrigLHS); in ParsePostfixExpressionSuffix()
2139 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, OpLoc, in ParsePostfixExpressionSuffix()
2166 Sema::TentativeAnalysisScope Trap(Actions); in ParsePostfixExpressionSuffix()
2167 CorrectedLHS = Actions.ActOnStartCXXMemberReference( in ParsePostfixExpressionSuffix()
2179 Actions.CodeCompleteMemberReferenceExpr( in ParsePostfixExpressionSuffix()
2221 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2226 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
2235 LHS = Actions.CreateRecoveryExpr(OrigLHS->getBeginLoc(), in ParsePostfixExpressionSuffix()
2244 LHS = Actions.ActOnPostfixUnaryOp(getCurScope(), Tok.getLocation(), in ParsePostfixExpressionSuffix()
2247 LHS = Actions.CreateRecoveryExpr(Arg->getBeginLoc(), in ParsePostfixExpressionSuffix()
2387 return Actions.ActOnSYCLUniqueStableNameExpr(OpLoc, T.getOpenLocation(), in ParseSYCLUniqueStableNameExpression()
2449 Actions, Sema::ExpressionEvaluationContext::Unevaluated, in ParseUnaryExprOrTypeTraitExpression()
2452 return Actions.ActOnSizeofParameterPackExpr(getCurScope(), in ParseUnaryExprOrTypeTraitExpression()
2462 Actions, Sema::ExpressionEvaluationContext::Unevaluated, in ParseUnaryExprOrTypeTraitExpression()
2484 return Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(), in ParseUnaryExprOrTypeTraitExpression()
2495 Operand = Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(), in ParseUnaryExprOrTypeTraitExpression()
2561 Res = Actions.ActOnVAArg(StartLoc, Expr.get(), Ty.get(), ConsumeParen()); in ParseBuiltinPrimaryExpression()
2635 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc, in ParseBuiltinPrimaryExpression()
2674 Res = Actions.ActOnChooseExpr(StartLoc, Cond.get(), Expr1.get(), in ParseBuiltinPrimaryExpression()
2703 Res = Actions.ActOnAsTypeExpr(Expr.get(), DestTy.get(), StartLoc, in ParseBuiltinPrimaryExpression()
2732 Res = Actions.ActOnConvertVectorExpr(Expr.get(), DestTy.get(), StartLoc, in ParseBuiltinPrimaryExpression()
2763 Res = Actions.ActOnSourceLocExpr(Kind, StartLoc, ConsumeParen()); in ParseBuiltinPrimaryExpression()
2849 Actions.CodeCompleteExpression( in ParseParenExpression()
2887 DeclContext *CodeDC = Actions.CurContext; in ParseParenExpression()
2893 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
2895 Actions.ActOnStartStmtExpr(); in ParseParenExpression()
2902 Result = Actions.ActOnStmtExpr(getCurScope(), OpenLoc, Stmt.get(), in ParseParenExpression()
2905 Actions.ActOnStmtExprError(); in ParseParenExpression()
2942 return Actions.ActOnObjCBridgedCast(getCurScope(), OpenLoc, Kind, in ParseParenExpression()
2978 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
2993 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
3005 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
3025 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
3052 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
3075 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
3106 Result = Actions.ActOnParenListExpr(OpenLoc, Tok.getLocation(), in ParseParenExpression()
3119 Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseParenExpression()
3133 Result = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseParenExpression()
3137 Result = Actions.ActOnOMPArrayShapingExpr( in ParseParenExpression()
3148 Result = Actions.CorrectDelayedTyposInExpr(Result); in ParseParenExpression()
3161 Actions.ActOnParenExpr(OpenLoc, Tok.getLocation(), Result.get()); in ParseParenExpression()
3193 return Actions.ActOnCompoundLiteral(LParenLoc, Ty, RParenLoc, Result.get()); in ParseCompoundLiteralExpression()
3218 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
3251 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseGenericSelectionExpression()
3253 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseGenericSelectionExpression()
3300 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseGenericSelectionExpression()
3312 return Actions.ActOnGenericSelectionExpr(KeyLoc, DefaultLoc, in ParseGenericSelectionExpression()
3367 return Actions.ActOnCXXFoldExpr(getCurScope(), T.getOpenLocation(), LHS.get(), in ParseFoldExpression()
3412 Expr = Actions.CorrectDelayedTyposInExpr(Expr); in ParseExpressionList()
3415 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken()); in ParseExpressionList()
3447 ExprResult Expr = Actions.CorrectDelayedTyposInExpr(E); in ParseExpressionList()
3492 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Type); in ParseBlockId()
3509 Actions.ActOnBlockArguments(CaretLoc, DeclaratorInfo, getCurScope()); in ParseBlockId()
3537 Actions.ActOnBlockStart(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3562 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3569 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3599 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3607 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3614 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope()); in ParseBlockLiteralExpression()
3616 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3626 return Actions.ActOnObjCBoolLiteral(ConsumeToken(), Kind); in ParseObjCBoolLiteral()
3681 Actions.CodeCompleteAvailabilityPlatformName(); in ParseAvailabilitySpec()
3746 return Actions.ActOnObjCAvailabilityCheckExpr(AvailSpecs, BeginLoc, in ParseAvailabilityCheckExpr()