Lines Matching full:actions

162     LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__,  in ParseExpressionWithLeadingExtension()
172 Actions.CodeCompletion().CodeCompleteExpression( in ParseAssignmentExpression()
191 Actions.CodeCompletion().CodeCompleteExpression( in ParseConditionalExpression()
224 assert(Actions.ExprEvalContexts.back().Context == in ParseConstantExpressionInExprEvalContext()
230 return Actions.ActOnConstantExpression(Res); in ParseConstantExpressionInExprEvalContext()
239 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseConstantExpression()
245 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseArrayBoundExpression()
248 Actions.ExprEvalContexts.back().InConditionallyConstantEvaluateContext = true; in ParseArrayBoundExpression()
254 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseCaseExpression()
257 return Actions.ActOnCaseExpr(CaseLoc, Res); in ParseCaseExpression()
268 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseConstraintExpression()
271 if (Res.isUsable() && !Actions.CheckConstraintExpression(Res.get())) { in ParseConstraintExpression()
272 Actions.CorrectDelayedTyposInExpr(Res); in ParseConstraintExpression()
290 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseConstraintLogicalAndExpression()
333 Actions.CheckConstraintExpression(E.get(), Tok, &PossibleNonPrimary, in ParseConstraintLogicalAndExpression()
342 Actions.CorrectDelayedTyposInExpr(E); in ParseConstraintLogicalAndExpression()
354 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalAndExpression()
357 ExprResult Op = Actions.ActOnBinOp(getCurScope(), LogicalAndLoc, in ParseConstraintLogicalAndExpression()
360 Actions.CorrectDelayedTyposInExpr(RHS); in ParseConstraintLogicalAndExpression()
361 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalAndExpression()
389 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalOrExpression()
392 ExprResult Op = Actions.ActOnBinOp(getCurScope(), LogicalOrLoc, in ParseConstraintLogicalOrExpression()
395 Actions.CorrectDelayedTyposInExpr(RHS); in ParseConstraintLogicalOrExpression()
396 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalOrExpression()
502 << Actions.getExprRange(TernaryMiddle.get()); in ParseRHSOfBinaryExpression()
522 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
557 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), in ParseRHSOfBinaryExpression()
582 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
584 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
604 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
619 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
621 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
632 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
636 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
641 << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
656 SourceRange(Actions.getExprRange(LHS.get()).getBegin(), in ParseRHSOfBinaryExpression()
657 Actions.getExprRange(RHS.get()).getEnd())); in ParseRHSOfBinaryExpression()
660 Actions.ActOnBinOp(getCurScope(), OpToken.getLocation(), in ParseRHSOfBinaryExpression()
663 BinOp = Actions.CreateRecoveryExpr(LHS.get()->getBeginLoc(), in ParseRHSOfBinaryExpression()
669 ExprResult CondOp = Actions.ActOnConditionalOp( in ParseRHSOfBinaryExpression()
679 CondOp = Actions.CreateRecoveryExpr(LHS.get()->getBeginLoc(), in ParseRHSOfBinaryExpression()
693 Actions.CorrectDelayedTyposInExpr(OrigLHS); in ParseRHSOfBinaryExpression()
694 Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
695 Actions.CorrectDelayedTyposInExpr(RHS); in ParseRHSOfBinaryExpression()
861 return Actions.ActOnUnaryExprOrTypeTraitExpr( in ParseBuiltinPtrauthTypeDiscriminator()
1128 Res = Actions.ActOnNumericConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
1149 Res = Actions.ActOnCXXNullPtrLiteral(ConsumeToken()); in ParseCastExpression()
1156 Res = Actions.ActOnNameClassifiedAsOverloadSet(getCurScope(), Res.get()); in ParseCastExpression()
1246 (Actions.getTypeName(II, ILoc, getCurScope()) || in ParseCastExpression()
1253 Actions.CodeCompletion().CodeCompleteObjCClassPropertyRefExpr( in ParseCastExpression()
1266 Res = Actions.ObjC().ActOnClassPropertyRefExpr(II, PropertyName, ILoc, in ParseCastExpression()
1296 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression()
1305 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1309 TypeResult Ty = Actions.ActOnTypeName(DeclaratorInfo); in ParseCastExpression()
1343 Res = Actions.ActOnIdExpression( in ParseCastExpression()
1365 Res = Actions.ActOnCharacterConstant(Tok, /*UDLScope*/getCurScope()); in ParseCastExpression()
1381 Res = Actions.ActOnPredefinedExpr(Tok.getLocation(), SavedKind); in ParseCastExpression()
1416 Res = Actions.ActOnGNUNullExpr(ConsumeToken()); in ParseCastExpression()
1430 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedTok.getKind(), in ParseCastExpression()
1448 Res = Actions.ActOnUnaryOp(getCurScope(), SavedTok.getLocation(), in ParseCastExpression()
1451 Res = Actions.CreateRecoveryExpr(SavedTok.getLocation(), in ParseCastExpression()
1461 PreferredType.enterUnary(Actions, Tok.getLocation(), tok::amp, SavedLoc); in ParseCastExpression()
1466 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Arg); in ParseCastExpression()
1468 Res = Actions.CreateRecoveryExpr(Tok.getLocation(), Arg->getEndLoc(), in ParseCastExpression()
1484 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedKind, SavedLoc); in ParseCastExpression()
1488 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Arg, in ParseCastExpression()
1491 Res = Actions.CreateRecoveryExpr(SavedLoc, Arg->getEndLoc(), Arg); in ParseCastExpression()
1502 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get()); in ParseCastExpression()
1514 Res = Actions.ActOnUnaryOp(getCurScope(), SavedLoc, SavedKind, Res.get()); in ParseCastExpression()
1548 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseCastExpression()
1550 Res = Actions.ActOnAddrLabel(AmpAmpLoc, Tok.getLocation(), LD); in ParseCastExpression()
1599 Actions.getASTContext().getPrintingPolicy()); in ParseCastExpression()
1603 TypeResult Ty = Actions.ActOnTypeName(DeclaratorInfo); in ParseCastExpression()
1806 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseCastExpression()
1812 Res = Actions.ActOnNoexceptExpr(KeyLoc, T.getOpenLocation(), Res.get(), in ParseCastExpression()
1852 Actions.CodeCompletion().CodeCompleteExpression( in ParseCastExpression()
1997 Actions.CodeCompletion().CodeCompletePostfixExpression( in ParsePostfixExpressionSuffix()
2030 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2040 PreferredType.enterSubscript(Actions, Tok.getLocation(), LHS.get()); in ParsePostfixExpressionSuffix()
2056 LHS = Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2057 Idx = Actions.CorrectDelayedTyposInExpr(Idx); in ParsePostfixExpressionSuffix()
2065 LHS = Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2081 Length = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParsePostfixExpressionSuffix()
2092 Length = Actions.CorrectDelayedTyposInExpr(Length); in ParsePostfixExpressionSuffix()
2108 LHS = Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2120 LHS = Actions.OpenACC().ActOnArraySectionExpr( in ParsePostfixExpressionSuffix()
2124 LHS = Actions.OpenMP().ActOnOMPArraySectionExpr( in ParsePostfixExpressionSuffix()
2130 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.get(), Loc, in ParsePostfixExpressionSuffix()
2157 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2181 ExprResult ECResult = Actions.CUDA().ActOnExecConfigExpr( in ParsePostfixExpressionSuffix()
2196 Actions.CodeCompletion().ProduceCallSignatureHelp( in ParsePostfixExpressionSuffix()
2207 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2217 Actions.CorrectDelayedTyposInExpr(E); in ParsePostfixExpressionSuffix()
2227 if (Actions.CorrectDelayedTyposInExpr(LHS).get() != LHS.get()) in ParsePostfixExpressionSuffix()
2230 if (Actions.CorrectDelayedTyposInExpr(E).get() != E) in ParsePostfixExpressionSuffix()
2243 LHS = Actions.ActOnCallExpr(getCurScope(), Fn, Loc, ArgExprs, RParLoc, in ParsePostfixExpressionSuffix()
2248 Actions.CreateRecoveryExpr(Fn->getBeginLoc(), RParLoc, ArgExprs); in ParsePostfixExpressionSuffix()
2267 PreferredType.enterMemAccess(Actions, Tok.getLocation(), OrigLHS); in ParsePostfixExpressionSuffix()
2281 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, OpLoc, in ParsePostfixExpressionSuffix()
2308 Sema::TentativeAnalysisScope Trap(Actions); in ParsePostfixExpressionSuffix()
2309 CorrectedLHS = Actions.ActOnStartCXXMemberReference( in ParsePostfixExpressionSuffix()
2321 Actions.CodeCompletion().CodeCompleteMemberReferenceExpr( in ParsePostfixExpressionSuffix()
2363 (void)Actions.CorrectDelayedTyposInExpr(LHS); in ParsePostfixExpressionSuffix()
2368 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
2377 LHS = Actions.CreateRecoveryExpr(OrigLHS->getBeginLoc(), in ParsePostfixExpressionSuffix()
2386 LHS = Actions.ActOnPostfixUnaryOp(getCurScope(), Tok.getLocation(), in ParsePostfixExpressionSuffix()
2389 LHS = Actions.CreateRecoveryExpr(Arg->getBeginLoc(), in ParsePostfixExpressionSuffix()
2542 return Actions.SYCL().ActOnUniqueStableNameExpr( in ParseSYCLUniqueStableNameExpression()
2607 Actions, Sema::ExpressionEvaluationContext::Unevaluated, in ParseUnaryExprOrTypeTraitExpression()
2610 return Actions.ActOnSizeofParameterPackExpr(getCurScope(), in ParseUnaryExprOrTypeTraitExpression()
2623 Actions, Sema::ExpressionEvaluationContext::Unevaluated, in ParseUnaryExprOrTypeTraitExpression()
2660 return Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(), in ParseUnaryExprOrTypeTraitExpression()
2671 Operand = Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(), in ParseUnaryExprOrTypeTraitExpression()
2739 Res = Actions.ActOnVAArg(StartLoc, Expr.get(), Ty.get(), ConsumeParen()); in ParseBuiltinPrimaryExpression()
2823 Res = Actions.ActOnBuiltinOffsetOf(getCurScope(), StartLoc, TypeLoc, in ParseBuiltinPrimaryExpression()
2862 Res = Actions.ActOnChooseExpr(StartLoc, Cond.get(), Expr1.get(), in ParseBuiltinPrimaryExpression()
2891 Res = Actions.ActOnAsTypeExpr(Expr.get(), DestTy.get(), StartLoc, in ParseBuiltinPrimaryExpression()
2920 Res = Actions.ActOnConvertVectorExpr(Expr.get(), DestTy.get(), StartLoc, in ParseBuiltinPrimaryExpression()
2957 Res = Actions.ActOnSourceLocExpr(Kind, StartLoc, ConsumeParen()); in ParseBuiltinPrimaryExpression()
3043 Actions.CodeCompletion().CodeCompleteExpression( in ParseParenExpression()
3081 DeclContext *CodeDC = Actions.CurContext; in ParseParenExpression()
3087 Sema::ContextRAII SavedContext(Actions, CodeDC, /*NewThisContext=*/false); in ParseParenExpression()
3089 Actions.ActOnStartStmtExpr(); in ParseParenExpression()
3096 Result = Actions.ActOnStmtExpr(getCurScope(), OpenLoc, Stmt.get(), in ParseParenExpression()
3099 Actions.ActOnStmtExprError(); in ParseParenExpression()
3136 return Actions.ObjC().ActOnObjCBridgedCast(getCurScope(), OpenLoc, Kind, in ParseParenExpression()
3172 Ty = Actions.ActOnTypeName(DeclaratorInfo); in ParseParenExpression()
3187 Ty = Actions.ActOnTypeName(DeclaratorInfo); in ParseParenExpression()
3199 Ty = Actions.ActOnTypeName(DeclaratorInfo); in ParseParenExpression()
3219 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
3246 Ty = Actions.ActOnTypeName(DeclaratorInfo); in ParseParenExpression()
3269 Result = Actions.ActOnCastExpr(getCurScope(), OpenLoc, in ParseParenExpression()
3298 Result = Actions.ActOnParenListExpr(OpenLoc, Tok.getLocation(), in ParseParenExpression()
3311 Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseParenExpression()
3325 Result = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseParenExpression()
3329 Result = Actions.OpenMP().ActOnOMPArrayShapingExpr( in ParseParenExpression()
3340 Result = Actions.CorrectDelayedTyposInExpr(Result); in ParseParenExpression()
3353 Actions.ActOnParenExpr(OpenLoc, Tok.getLocation(), Result.get()); in ParseParenExpression()
3385 return Actions.ActOnCompoundLiteral(LParenLoc, Ty, RParenLoc, Result.get()); in ParseCompoundLiteralExpression()
3424 return Actions.ActOnUnevaluatedStringLiteral(StringToks); in ParseStringLiteralExpression()
3427 // Pass the set of string tokens, ready for concatenation, to the actions. in ParseStringLiteralExpression()
3428 return Actions.ActOnStringLiteral(StringToks, in ParseStringLiteralExpression()
3480 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseGenericSelectionExpression()
3482 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseGenericSelectionExpression()
3529 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseGenericSelectionExpression()
3545 return Actions.ActOnGenericSelectionExpr( in ParseGenericSelectionExpression()
3599 return Actions.ActOnCXXFoldExpr(getCurScope(), T.getOpenLocation(), LHS.get(), in ParseFoldExpression()
3668 Expr = Actions.CorrectDelayedTyposInExpr(Expr); in ParseExpressionList()
3671 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken()); in ParseExpressionList()
3702 ExprResult Expr = Actions.CorrectDelayedTyposInExpr(E); in ParseExpressionList()
3746 Actions.CodeCompletion().CodeCompleteOrdinaryName( in ParseBlockId()
3764 Actions.ActOnBlockArguments(CaretLoc, DeclaratorInfo, getCurScope()); in ParseBlockId()
3792 Actions.ActOnBlockStart(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3817 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3824 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3854 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3862 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3869 Result = Actions.ActOnBlockStmtExpr(CaretLoc, Stmt.get(), getCurScope()); in ParseBlockLiteralExpression()
3871 Actions.ActOnBlockError(CaretLoc, getCurScope()); in ParseBlockLiteralExpression()
3881 return Actions.ObjC().ActOnObjCBoolLiteral(ConsumeToken(), Kind); in ParseObjCBoolLiteral()
3936 Actions.CodeCompletion().CodeCompleteAvailabilityPlatformName(); in ParseAvailabilitySpec()
4002 return Actions.ObjC().ActOnObjCAvailabilityCheckExpr( in ParseAvailabilityCheckExpr()