Lines Matching refs:ExprResult
509 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E, bool Diagnose) { in DefaultFunctionArrayConversion()
512 ExprResult result = CheckPlaceholderExpr(E); in DefaultFunctionArrayConversion()
630 ExprResult Sema::DefaultLvalueConversion(Expr *E) { in DefaultLvalueConversion()
633 ExprResult result = CheckPlaceholderExpr(E); in DefaultLvalueConversion()
712 ExprResult Res = ImplicitCastExpr::Create(Context, T, CK_LValueToRValue, E, in DefaultLvalueConversion()
727 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E, bool Diagnose) { in DefaultFunctionArrayLvalueConversion()
728 ExprResult Res = DefaultFunctionArrayConversion(E, Diagnose); in DefaultFunctionArrayLvalueConversion()
739 ExprResult Sema::CallExprUnaryConversions(Expr *E) { in CallExprUnaryConversions()
741 ExprResult Res = E; in CallExprUnaryConversions()
761 ExprResult Sema::UsualUnaryConversions(Expr *E) { in UsualUnaryConversions()
763 ExprResult Res = DefaultFunctionArrayLvalueConversion(E); in UsualUnaryConversions()
810 ExprResult Sema::DefaultArgumentPromotion(Expr *E) { in DefaultArgumentPromotion()
814 ExprResult Res = UsualUnaryConversions(E); in DefaultArgumentPromotion()
838 ExprResult Temp = PerformCopyInitialization( in DefaultArgumentPromotion()
945 ExprResult Sema::DefaultVariadicArgumentPromotion(Expr *E, VariadicCallType CT, in DefaultVariadicArgumentPromotion()
956 ExprResult ExprRes = CheckPlaceholderExpr(E); in DefaultVariadicArgumentPromotion()
963 ExprResult ExprRes = DefaultArgumentPromotion(E); in DefaultVariadicArgumentPromotion()
977 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, in DefaultVariadicArgumentPromotion()
982 ExprResult Call = ActOnCallExpr(TUScope, TrapFn.get(), in DefaultVariadicArgumentPromotion()
988 ExprResult Comma = ActOnBinOp(TUScope, E->getLocStart(), tok::comma, in DefaultVariadicArgumentPromotion()
1008 static bool handleIntegerToComplexFloatConversion(Sema &S, ExprResult &IntExpr, in handleIntegerToComplexFloatConversion()
1009 ExprResult &ComplexExpr, in handleIntegerToComplexFloatConversion()
1030 static QualType handleComplexFloatConversion(Sema &S, ExprResult &LHS, in handleComplexFloatConversion()
1031 ExprResult &RHS, QualType LHSType, in handleComplexFloatConversion()
1086 static QualType handleIntToFloatConversion(Sema &S, ExprResult &FloatExpr, in handleIntToFloatConversion()
1087 ExprResult &IntExpr, in handleIntToFloatConversion()
1117 static QualType handleFloatConversion(Sema &S, ExprResult &LHS, in handleFloatConversion()
1118 ExprResult &RHS, QualType LHSType, in handleFloatConversion()
1195 typedef ExprResult PerformCastFn(Sema &S, Expr *operand, QualType toType);
1200 ExprResult doIntegralCast(Sema &S, Expr *op, QualType toType) { in doIntegralCast()
1204 ExprResult doComplexIntegralCast(Sema &S, Expr *op, QualType toType) { in doComplexIntegralCast()
1213 static QualType handleIntegerConversion(Sema &S, ExprResult &LHS, in handleIntegerConversion()
1214 ExprResult &RHS, QualType LHSType, in handleIntegerConversion()
1263 static QualType handleComplexIntConversion(Sema &S, ExprResult &LHS, in handleComplexIntConversion()
1264 ExprResult &RHS, QualType LHSType, in handleComplexIntConversion()
1310 QualType Sema::UsualArithmeticConversions(ExprResult &LHS, ExprResult &RHS, in UsualArithmeticConversions()
1389 ExprResult
1407 ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in ActOnGenericSelectionExpr()
1415 ExprResult
1429 ExprResult R = DefaultFunctionArrayLvalueConversion(ControllingExpr); in CreateGenericSelectionExpr()
1569 static ExprResult BuildCookedLiteralOperatorCall(Sema &S, Scope *Scope, in BuildCookedLiteralOperatorCall()
1603 ExprResult
1723 ExprResult
1733 ExprResult
2106 ExprResult
2187 ExprResult E(LookupInObjCMethod(R, S, II, true)); in ActOnIdExpression()
2269 ExprResult E(LookupInObjCMethod(R, S, Ivar->getIdentifier())); in ActOnIdExpression()
2346 ExprResult Sema::BuildQualifiedDeclarationNameExpr( in BuildQualifiedDeclarationNameExpr()
2428 ExprResult
2491 ExprResult SelfExpr = ActOnIdExpression(S, SelfScopeSpec, TemplateKWLoc, in LookupInObjCMethod()
2554 return ExprResult((Expr *)nullptr); in LookupInObjCMethod()
2574 ExprResult
2800 ExprResult Sema::BuildDeclarationNameExpr(const CXXScopeSpec &SS, in BuildDeclarationNameExpr()
2833 ExprResult Sema::BuildDeclarationNameExpr( in BuildDeclarationNameExpr()
3056 ExprResult Sema::BuildPredefinedExpr(SourceLocation Loc, in BuildPredefinedExpr()
3106 ExprResult Sema::ActOnPredefinedExpr(SourceLocation Loc, tok::TokenKind Kind) { in ActOnPredefinedExpr()
3122 ExprResult Sema::ActOnCharacterConstant(const Token &Tok, Scope *UDLScope) { in ActOnCharacterConstant()
3177 ExprResult Sema::ActOnIntegerConstant(SourceLocation Loc, uint64_t Val) { in ActOnIntegerConstant()
3228 ExprResult R = VerifyIntegerConstantExpression(E, &ValueAPS); in CheckLoopHintExpr()
3243 ExprResult Sema::ActOnNumericConstant(const Token &Tok, Scope *UDLScope) { in ActOnNumericConstant()
3526 ExprResult Sema::ActOnParenExpr(SourceLocation L, SourceLocation R, Expr *E) { in ActOnParenExpr()
3949 ExprResult
3994 ExprResult
3997 ExprResult PE = CheckPlaceholderExpr(E); in CreateUnaryExprOrTypeTraitExpr()
4038 ExprResult
4052 ExprResult Result = CreateUnaryExprOrTypeTraitExpr(ArgEx, OpLoc, ExprKind); in ActOnUnaryExprOrTypeTraitExpr()
4056 static QualType CheckRealImagOperand(Sema &S, ExprResult &V, SourceLocation Loc, in CheckRealImagOperand()
4077 ExprResult PR = S.CheckPlaceholderExpr(V.get()); in CheckRealImagOperand()
4092 ExprResult
4103 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Input); in ActOnPostfixUnaryOp()
4134 ExprResult
4144 ExprResult result = MaybeConvertParenListExprToParenExpr(S, base); in ActOnArraySubscriptExpr()
4158 ExprResult result = CheckPlaceholderExpr(base); in ActOnArraySubscriptExpr()
4165 ExprResult result = CheckPlaceholderExpr(idx); in ActOnArraySubscriptExpr()
4210 ExprResult Sema::ActOnOMPArraySectionExpr(Expr *Base, SourceLocation LBLoc, in ActOnOMPArraySectionExpr()
4217 ExprResult Result = CheckPlaceholderExpr(Base); in ActOnOMPArraySectionExpr()
4223 ExprResult Result = CheckPlaceholderExpr(LowerBound); in ActOnOMPArraySectionExpr()
4232 ExprResult Result = CheckPlaceholderExpr(Length); in ActOnOMPArraySectionExpr()
4346 ExprResult Result = DefaultFunctionArrayLvalueConversion(Base); in ActOnOMPArraySectionExpr()
4356 ExprResult
4364 ExprResult Result = DefaultFunctionArrayLvalueConversion(LHSExp); in CreateBuiltinArraySubscriptExpr()
4369 ExprResult Result = DefaultFunctionArrayLvalueConversion(RHSExp); in CreateBuiltinArraySubscriptExpr()
4499 ExprResult Sema::BuildCXXDefaultArgExpr(SourceLocation CallLoc, in BuildCXXDefaultArgExpr()
4526 ExprResult Result; in BuildCXXDefaultArgExpr()
4845 ExprResult ArgE = PerformCopyInitialization( in GatherArgumentsForCall()
4854 ExprResult ArgExpr = in GatherArgumentsForCall()
4881 ExprResult arg = checkUnknownAnyArg(CallLoc, A, paramType); in GatherArgumentsForCall()
4889 ExprResult Arg = DefaultVariadicArgumentPromotion(A, CallType, FDecl); in GatherArgumentsForCall()
4960 static ExprResult rebuildUnknownAnyFunction(Sema &S, Expr *fn);
5016 ExprResult result = S.CheckPlaceholderExpr(args[i]); in checkArgsForPlaceholders()
5114 ExprResult
5119 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Fn); in ActOnCallExpr()
5141 ExprResult result = CheckPlaceholderExpr(Fn); in ActOnCallExpr()
5171 ExprResult result = rebuildUnknownAnyFunction(*this, Fn); in ActOnCallExpr()
5199 ExprResult result = rebuildUnknownAnyFunction(*this, Fn); in ActOnCallExpr()
5269 ExprResult Sema::ActOnAsTypeExpr(Expr *E, ParsedType ParsedDestTy, in ActOnAsTypeExpr()
5290 ExprResult Sema::ActOnConvertVectorExpr(Expr *E, ParsedType ParsedDestTy, in ActOnConvertVectorExpr()
5304 ExprResult
5322 ExprResult Result; in BuildResolvedCallExpr()
5351 ExprResult Result = CorrectDelayedTyposInExpr(TheCall); in BuildResolvedCallExpr()
5377 ExprResult rewrite = rebuildUnknownAnyFunction(*this, Fn); in BuildResolvedCallExpr()
5448 ExprResult ArgE = in BuildResolvedCallExpr()
5456 ExprResult ArgE = DefaultArgumentPromotion(Arg); in BuildResolvedCallExpr()
5500 ExprResult
5514 ExprResult
5541 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, LiteralExpr, in BuildCompoundLiteralExpr()
5564 ExprResult
5571 ExprResult result = CheckPlaceholderExpr(InitArgList[I]); in ActOnInitList()
5591 void Sema::maybeExtendBlockObject(ExprResult &E) { in maybeExtendBlockObject()
5606 CastKind Sema::PrepareCastToObjCObjectPointer(ExprResult &E) { in PrepareCastToObjCObjectPointer()
5621 CastKind Sema::PrepareScalarCast(ExprResult &Src, QualType DestTy) { in PrepareScalarCast()
5868 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat()
5884 ExprResult CastExprRes = ImpCastExprToType(SplattedExpr, Context.IntTy, in prepareVectorSplat()
5892 ExprResult CastExprRes = SplattedExpr; in prepareVectorSplat()
5901 ExprResult Sema::CheckExtVectorCast(SourceRange R, QualType DestTy, in CheckExtVectorCast()
5935 ExprResult
5951 ExprResult Res = CorrectDelayedTyposInExpr(CastExpr); in ActOnCastExpr()
5992 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, CastExpr); in ActOnCastExpr()
6008 ExprResult Sema::BuildVectorLiteral(SourceLocation LParenLoc, in BuildVectorLiteral()
6048 ExprResult Literal = DefaultLvalueConversion(exprs[0]); in BuildVectorLiteral()
6070 ExprResult Literal = DefaultLvalueConversion(exprs[0]); in BuildVectorLiteral()
6090 ExprResult
6096 ExprResult Result(E->getExpr(0)); in MaybeConvertParenListExprToParenExpr()
6107 ExprResult Sema::ActOnParenListExpr(SourceLocation L, in ActOnParenListExpr()
6175 static QualType checkConditionalVoidType(Sema &S, ExprResult &LHS, in checkConditionalVoidType()
6176 ExprResult &RHS) { in checkConditionalVoidType()
6193 static bool checkConditionalNullPointer(Sema &S, ExprResult &NullExpr, in checkConditionalNullPointer()
6206 static QualType checkConditionalPointerCompatibility(Sema &S, ExprResult &LHS, in checkConditionalPointerCompatibility()
6207 ExprResult &RHS, in checkConditionalPointerCompatibility()
6335 ExprResult &LHS, in checkConditionalBlockPointerCompatibility()
6336 ExprResult &RHS, in checkConditionalBlockPointerCompatibility()
6360 checkConditionalObjectPointersCompatibility(Sema &S, ExprResult &LHS, in checkConditionalObjectPointersCompatibility()
6361 ExprResult &RHS, in checkConditionalObjectPointersCompatibility()
6399 static bool checkPointerIntegerMismatch(Sema &S, ExprResult &Int, in checkPointerIntegerMismatch()
6429 static QualType OpenCLArithmeticConversions(Sema &S, ExprResult &LHS, in OpenCLArithmeticConversions()
6430 ExprResult &RHS, in OpenCLArithmeticConversions()
6484 OpenCLConvertScalarsToVectors(Sema &S, ExprResult &LHS, ExprResult &RHS, in OpenCLConvertScalarsToVectors()
6566 OpenCLCheckVectorConditional(Sema &S, ExprResult &Cond, in OpenCLCheckVectorConditional()
6567 ExprResult &LHS, ExprResult &RHS, in OpenCLCheckVectorConditional()
6612 QualType Sema::CheckConditionalOperands(ExprResult &Cond, ExprResult &LHS, in CheckConditionalOperands()
6613 ExprResult &RHS, ExprValueKind &VK, in CheckConditionalOperands()
6617 ExprResult LHSResult = CheckPlaceholderExpr(LHS.get()); in CheckConditionalOperands()
6621 ExprResult RHSResult = CheckPlaceholderExpr(RHS.get()); in CheckConditionalOperands()
6748 QualType Sema::FindCompositeObjCPointerType(ExprResult &LHS, ExprResult &RHS, in FindCompositeObjCPointerType()
7007 ExprResult Sema::ActOnConditionalOp(SourceLocation QuestionLoc, in ActOnConditionalOp()
7015 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
7016 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp()
7017 ExprResult RHSResult = CorrectDelayedTyposInExpr(RHSExpr); in ActOnConditionalOp()
7045 ExprResult result = CheckPlaceholderExpr(commonExpr); in ActOnConditionalOp()
7058 ExprResult commonRes = UsualUnaryConversions(commonExpr); in ActOnConditionalOp()
7074 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
7297 ExprResult RHSPtr = &RHSExpr; in CheckAssignmentConstraints()
7321 Sema::CheckAssignmentConstraints(QualType LHSType, ExprResult &RHS, in CheckAssignmentConstraints()
7406 ExprResult *VecExpr = &RHS; in CheckAssignmentConstraints()
7607 ExprResult &EResult, QualType UnionType, in ConstructTransparentUnion()
7626 ExprResult &RHS) { in CheckTransparentUnionArgumentConstraints()
7677 Sema::CheckSingleAssignmentConstraints(QualType LHSType, ExprResult &CallerRHS, in CheckSingleAssignmentConstraints()
7684 ExprResult LocalRHS = CallerRHS; in CheckSingleAssignmentConstraints()
7685 ExprResult &RHS = ConvertRHS ? CallerRHS : LocalRHS; in CheckSingleAssignmentConstraints()
7692 ExprResult Res; in CheckSingleAssignmentConstraints()
7815 QualType Sema::InvalidOperands(SourceLocation Loc, ExprResult &LHS, in InvalidOperands()
7816 ExprResult &RHS) { in InvalidOperands()
7831 static bool tryVectorConvertAndSplat(Sema &S, ExprResult *scalar, in tryVectorConvertAndSplat()
7870 QualType Sema::CheckVectorOperands(ExprResult &LHS, ExprResult &RHS, in CheckVectorOperands()
7957 ExprResult *ScalarExpr = LHSVecType ? &RHS : &LHS; in CheckVectorOperands()
7997 static void checkArithmeticNull(Sema &S, ExprResult &LHS, ExprResult &RHS, in checkArithmeticNull()
8033 static void DiagnoseBadDivideOrRemainderValues(Sema& S, ExprResult &LHS, in DiagnoseBadDivideOrRemainderValues()
8034 ExprResult &RHS, in DiagnoseBadDivideOrRemainderValues()
8045 QualType Sema::CheckMultiplyDivideOperands(ExprResult &LHS, ExprResult &RHS, in CheckMultiplyDivideOperands()
8069 ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) { in CheckRemainderOperands()
8350 QualType Sema::CheckAdditionOperands(ExprResult &LHS, ExprResult &RHS, in CheckAdditionOperands()
8428 QualType Sema::CheckSubtractionOperands(ExprResult &LHS, ExprResult &RHS, in CheckSubtractionOperands()
8527 static void DiagnoseBadShiftValues(Sema& S, ExprResult &LHS, ExprResult &RHS, in DiagnoseBadShiftValues()
8609 ExprResult &LHS, ExprResult &RHS, in checkOpenCLVectorShift()
8670 QualType Sema::CheckShiftOperands(ExprResult &LHS, ExprResult &RHS, in CheckShiftOperands()
8702 ExprResult OldLHS = LHS; in CheckShiftOperands()
8772 ExprResult &LHS, ExprResult &RHS, in diagnoseDistinctPointerComparison()
8783 ExprResult &LHS, ExprResult &RHS) { in convertPointersToCompositeType()
8828 ExprResult &LHS, in diagnoseFunctionPointerToVoidComparison()
8829 ExprResult &RHS, in diagnoseFunctionPointerToVoidComparison()
8837 static bool isObjCObjectLiteral(ExprResult &E) { in isObjCObjectLiteral()
8939 ExprResult &LHS, ExprResult &RHS, in diagnoseObjCLiteralComparison()
8987 static void diagnoseLogicalNotOnLHSofComparison(Sema &S, ExprResult &LHS, in diagnoseLogicalNotOnLHSofComparison()
8988 ExprResult &RHS, in diagnoseLogicalNotOnLHSofComparison()
9044 QualType Sema::CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, in CheckCompareOperands()
9462 QualType Sema::CheckVectorCompareOperands(ExprResult &LHS, ExprResult &RHS, in CheckVectorCompareOperands()
9508 QualType Sema::CheckVectorLogicalOperands(ExprResult &LHS, ExprResult &RHS, in CheckVectorLogicalOperands()
9525 ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) { in CheckBitwiseOperands()
9538 ExprResult LHSResult = LHS, RHSResult = RHS; in CheckBitwiseOperands()
9552 inline QualType Sema::CheckLogicalOperands(ExprResult &LHS, ExprResult &RHS, in CheckLogicalOperands()
9625 ExprResult LHSRes = PerformContextuallyConvertToBool(LHS.get()); in CheckLogicalOperands()
9630 ExprResult RHSRes = PerformContextuallyConvertToBool(RHS.get()); in CheckLogicalOperands()
9968 QualType Sema::CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS, in CheckAssignmentOperands()
10133 static QualType CheckCommaOperands(Sema &S, ExprResult &LHS, ExprResult &RHS, in CheckCommaOperands()
10217 ExprResult PR = S.CheckPlaceholderExpr(Op); in CheckIncrementDecrementOperand()
10334 QualType Sema::CheckAddressOfOperand(ExprResult &OrigOp, SourceLocation OpLoc) { in CheckAddressOfOperand()
10564 ExprResult ConvResult = S.UsualUnaryConversions(Op); in CheckIndirectionOperand()
10585 ExprResult PR = S.CheckPlaceholderExpr(Op); in CheckIndirectionOperand()
10716 static void checkObjCPointerIntrospection(Sema &S, ExprResult &L, ExprResult &R, in checkObjCPointerIntrospection()
10772 ExprResult Sema::CreateBuiltinBinOp(SourceLocation OpLoc, in CreateBuiltinBinOp()
10787 ExprResult Init = InitSeq.Perform(*this, Entity, Kind, RHSExpr); in CreateBuiltinBinOp()
10793 ExprResult LHS = LHSExpr, RHS = RHSExpr; in CreateBuiltinBinOp()
10808 return ExprResult(E); in CreateBuiltinBinOp()
11191 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp()
11205 static ExprResult BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, in BuildOverloadedBinOp()
11224 ExprResult Sema::BuildBinOp(Scope *S, SourceLocation OpLoc, in BuildBinOp()
11247 ExprResult resolvedRHS = CheckPlaceholderExpr(RHSExpr); in BuildBinOp()
11256 ExprResult LHS = CheckPlaceholderExpr(LHSExpr); in BuildBinOp()
11280 ExprResult resolvedRHS = CheckPlaceholderExpr(RHSExpr); in BuildBinOp()
11302 ExprResult Sema::CreateBuiltinUnaryOp(SourceLocation OpLoc, in CreateBuiltinUnaryOp()
11305 ExprResult Input = InputExpr; in CreateBuiltinUnaryOp()
11524 ExprResult Sema::BuildUnaryOp(Scope *S, SourceLocation OpLoc, in BuildUnaryOp()
11547 ExprResult Result = CheckPlaceholderExpr(Input); in BuildUnaryOp()
11572 ExprResult Sema::ActOnUnaryOp(Scope *S, SourceLocation OpLoc, in ActOnUnaryOp()
11578 ExprResult Sema::ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, in ActOnAddrLabel()
11621 ExprResult
11653 ExprResult LastExpr = DefaultFunctionArrayConversion(LastE); in ActOnStmtExpr()
11698 ExprResult Sema::BuildBuiltinOffsetOf(SourceLocation BuiltinLoc, in BuildBuiltinOffsetOf()
11744 ExprResult IdxRval = DefaultLvalueConversion(static_cast<Expr*>(OC.U.E)); in BuildBuiltinOffsetOf()
11869 ExprResult Sema::ActOnBuiltinOffsetOf(Scope *S, in ActOnBuiltinOffsetOf()
11888 ExprResult Sema::ActOnChooseExpr(SourceLocation BuiltinLoc, in ActOnChooseExpr()
11905 ExprResult CondICE in ActOnChooseExpr()
12088 ExprResult Sema::ActOnBlockStmtExpr(SourceLocation CaretLoc, in ActOnBlockStmtExpr()
12204 ExprResult Sema::ActOnVAArg(SourceLocation BuiltinLoc, Expr *E, ParsedType Ty, in ActOnVAArg()
12211 ExprResult Sema::BuildVAArgExpr(SourceLocation BuiltinLoc, in BuildVAArgExpr()
12248 ExprResult Result = UsualUnaryConversions(E); in BuildVAArgExpr()
12257 ExprResult Init = PerformCopyInitialization(Entity, SourceLocation(), E); in BuildVAArgExpr()
12319 ExprResult Sema::ActOnGNUNullExpr(SourceLocation TokenLoc) { in ActOnGNUNullExpr()
12598 ExprResult Sema::VerifyIntegerConstantExpression(Expr *E, in VerifyIntegerConstantExpression()
12610 ExprResult Sema::VerifyIntegerConstantExpression(Expr *E, in VerifyIntegerConstantExpression()
12634 ExprResult
12646 ExprResult Converted; in VerifyIntegerConstantExpression()
12786 ExprResult TransformDeclRefExpr(DeclRefExpr *E) { in TransformDeclRefExpr()
12797 ExprResult TransformUnaryOperator(UnaryOperator *E) { in TransformUnaryOperator()
12804 ExprResult TransformLambdaExpr(LambdaExpr *E) { in TransformLambdaExpr()
12811 ExprResult Sema::TransformToPotentiallyEvaluated(Expr *E) { in TransformToPotentiallyEvaluated()
12906 ExprResult Sema::HandleExprEvaluationContextForTypeof(Expr *E) { in HandleExprEvaluationContextForTypeof()
13349 ExprResult Result in captureInBlock()
13822 ExprResult Sema::ActOnConstantExpression(ExprResult Res) { in ActOnConstantExpression()
14371 ExprResult Sema::CheckBooleanCondition(SourceLocation Loc, Expr *E, in CheckBooleanCondition()
14377 ExprResult result = CheckPlaceholderExpr(E); in CheckBooleanCondition()
14385 ExprResult ERes = DefaultFunctionArrayLvalueConversion(E); in CheckBooleanCondition()
14408 ExprResult Cond; in ActOnCondition()
14438 : StmtVisitor<RebuildUnknownAnyFunction, ExprResult> {
14444 ExprResult VisitStmt(Stmt *S) { in VisitStmt()
14448 ExprResult VisitExpr(Expr *E) { in VisitExpr()
14456 template <class T> ExprResult rebuildSugarExpr(T *E) { in rebuildSugarExpr()
14457 ExprResult SubResult = Visit(E->getSubExpr()); in rebuildSugarExpr()
14468 ExprResult VisitParenExpr(ParenExpr *E) { in VisitParenExpr()
14472 ExprResult VisitUnaryExtension(UnaryOperator *E) { in VisitUnaryExtension()
14476 ExprResult VisitUnaryAddrOf(UnaryOperator *E) { in VisitUnaryAddrOf()
14477 ExprResult SubResult = Visit(E->getSubExpr()); in VisitUnaryAddrOf()
14488 ExprResult resolveDecl(Expr *E, ValueDecl *VD) { in resolveDecl()
14502 ExprResult VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
14506 ExprResult VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr()
14514 static ExprResult rebuildUnknownAnyFunction(Sema &S, Expr *FunctionExpr) { in rebuildUnknownAnyFunction()
14515 ExprResult Result = RebuildUnknownAnyFunction(S).Visit(FunctionExpr); in rebuildUnknownAnyFunction()
14526 : StmtVisitor<RebuildUnknownAnyExpr, ExprResult> {
14536 ExprResult VisitStmt(Stmt *S) { in VisitStmt()
14540 ExprResult VisitExpr(Expr *E) { in VisitExpr()
14546 ExprResult VisitCallExpr(CallExpr *E);
14547 ExprResult VisitObjCMessageExpr(ObjCMessageExpr *E);
14551 template <class T> ExprResult rebuildSugarExpr(T *E) { in rebuildSugarExpr()
14552 ExprResult SubResult = Visit(E->getSubExpr()); in rebuildSugarExpr()
14562 ExprResult VisitParenExpr(ParenExpr *E) { in VisitParenExpr()
14566 ExprResult VisitUnaryExtension(UnaryOperator *E) { in VisitUnaryExtension()
14570 ExprResult VisitUnaryAddrOf(UnaryOperator *E) { in VisitUnaryAddrOf()
14583 ExprResult SubResult = Visit(E->getSubExpr()); in VisitUnaryAddrOf()
14589 ExprResult VisitImplicitCastExpr(ImplicitCastExpr *E);
14591 ExprResult resolveDecl(Expr *E, ValueDecl *VD);
14593 ExprResult VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
14597 ExprResult VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr()
14604 ExprResult RebuildUnknownAnyExpr::VisitCallExpr(CallExpr *E) { in VisitCallExpr()
14705 ExprResult CalleeResult = Visit(CalleeExpr); in VisitCallExpr()
14713 ExprResult RebuildUnknownAnyExpr::VisitObjCMessageExpr(ObjCMessageExpr *E) { in VisitObjCMessageExpr()
14734 ExprResult RebuildUnknownAnyExpr::VisitImplicitCastExpr(ImplicitCastExpr *E) { in VisitImplicitCastExpr()
14745 ExprResult Result = Visit(E->getSubExpr()); in VisitImplicitCastExpr()
14761 ExprResult Result = Visit(E->getSubExpr()); in VisitImplicitCastExpr()
14771 ExprResult RebuildUnknownAnyExpr::resolveDecl(Expr *E, ValueDecl *VD) { in resolveDecl()
14781 ExprResult Result = resolveDecl(E, VD); in resolveDecl()
14863 ExprResult Sema::checkUnknownAnyCast(SourceRange TypeRange, QualType CastType, in checkUnknownAnyCast()
14873 ExprResult result = RebuildUnknownAnyExpr(*this, CastType).Visit(CastExpr); in checkUnknownAnyCast()
14883 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType()
14887 ExprResult Sema::checkUnknownAnyArg(SourceLocation callLoc, in checkUnknownAnyArg()
14893 ExprResult result = DefaultArgumentPromotion(arg); in checkUnknownAnyArg()
14910 static ExprResult diagnoseUnknownAnyExpr(Sema &S, Expr *E) { in diagnoseUnknownAnyExpr()
14955 ExprResult Sema::CheckPlaceholderExpr(Expr *E) { in CheckPlaceholderExpr()
14960 ExprResult Result = CorrectDelayedTyposInExpr(E); in CheckPlaceholderExpr()
14974 ExprResult Result = E; in CheckPlaceholderExpr()
14992 ExprResult result = E; in CheckPlaceholderExpr()
15067 ExprResult