Lines Matching refs:ExprResult

481 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E) {  in DefaultFunctionArrayConversion()
484 ExprResult result = CheckPlaceholderExpr(E); in DefaultFunctionArrayConversion()
595 ExprResult Sema::DefaultLvalueConversion(Expr *E) { in DefaultLvalueConversion()
598 ExprResult result = CheckPlaceholderExpr(E); in DefaultLvalueConversion()
672 ExprResult Res = ImplicitCastExpr::Create(Context, T, CK_LValueToRValue, E, in DefaultLvalueConversion()
687 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E) { in DefaultFunctionArrayLvalueConversion()
688 ExprResult Res = DefaultFunctionArrayConversion(E); in DefaultFunctionArrayLvalueConversion()
699 ExprResult Sema::CallExprUnaryConversions(Expr *E) { in CallExprUnaryConversions()
701 ExprResult Res = E; in CallExprUnaryConversions()
721 ExprResult Sema::UsualUnaryConversions(Expr *E) { in UsualUnaryConversions()
723 ExprResult Res = DefaultFunctionArrayLvalueConversion(E); in UsualUnaryConversions()
770 ExprResult Sema::DefaultArgumentPromotion(Expr *E) { in DefaultArgumentPromotion()
774 ExprResult Res = UsualUnaryConversions(E); in DefaultArgumentPromotion()
798 ExprResult Temp = PerformCopyInitialization( in DefaultArgumentPromotion()
905 ExprResult Sema::DefaultVariadicArgumentPromotion(Expr *E, VariadicCallType CT, in DefaultVariadicArgumentPromotion()
916 ExprResult ExprRes = CheckPlaceholderExpr(E); in DefaultVariadicArgumentPromotion()
923 ExprResult ExprRes = DefaultArgumentPromotion(E); in DefaultVariadicArgumentPromotion()
937 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, in DefaultVariadicArgumentPromotion()
942 ExprResult Call = ActOnCallExpr(TUScope, TrapFn.get(), in DefaultVariadicArgumentPromotion()
948 ExprResult Comma = ActOnBinOp(TUScope, E->getLocStart(), tok::comma, in DefaultVariadicArgumentPromotion()
968 static bool handleIntegerToComplexFloatConversion(Sema &S, ExprResult &IntExpr, in handleIntegerToComplexFloatConversion()
969 ExprResult &ComplexExpr, in handleIntegerToComplexFloatConversion()
990 static QualType handleComplexFloatConversion(Sema &S, ExprResult &LHS, in handleComplexFloatConversion()
991 ExprResult &RHS, QualType LHSType, in handleComplexFloatConversion()
1046 static QualType handleIntToFloatConversion(Sema &S, ExprResult &FloatExpr, in handleIntToFloatConversion()
1047 ExprResult &IntExpr, in handleIntToFloatConversion()
1077 static QualType handleFloatConversion(Sema &S, ExprResult &LHS, in handleFloatConversion()
1078 ExprResult &RHS, QualType LHSType, in handleFloatConversion()
1108 typedef ExprResult PerformCastFn(Sema &S, Expr *operand, QualType toType);
1113 ExprResult doIntegralCast(Sema &S, Expr *op, QualType toType) { in doIntegralCast()
1117 ExprResult doComplexIntegralCast(Sema &S, Expr *op, QualType toType) { in doComplexIntegralCast()
1126 static QualType handleIntegerConversion(Sema &S, ExprResult &LHS, in handleIntegerConversion()
1127 ExprResult &RHS, QualType LHSType, in handleIntegerConversion()
1176 static QualType handleComplexIntConversion(Sema &S, ExprResult &LHS, in handleComplexIntConversion()
1177 ExprResult &RHS, QualType LHSType, in handleComplexIntConversion()
1223 QualType Sema::UsualArithmeticConversions(ExprResult &LHS, ExprResult &RHS, in UsualArithmeticConversions()
1297 ExprResult
1315 ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in ActOnGenericSelectionExpr()
1323 ExprResult
1333 ExprResult result = CheckPlaceholderExpr(ControllingExpr); in CreateGenericSelectionExpr()
1473 static ExprResult BuildCookedLiteralOperatorCall(Sema &S, Scope *Scope, in BuildCookedLiteralOperatorCall()
1507 ExprResult
1627 ExprResult
1637 ExprResult
2045 ExprResult
2126 ExprResult E(LookupInObjCMethod(R, S, II, true)); in ActOnIdExpression()
2208 ExprResult E(LookupInObjCMethod(R, S, Ivar->getIdentifier())); in ActOnIdExpression()
2285 ExprResult
2369 ExprResult
2432 ExprResult SelfExpr = ActOnIdExpression(S, SelfScopeSpec, TemplateKWLoc, in LookupInObjCMethod()
2495 return ExprResult((Expr *)nullptr); in LookupInObjCMethod()
2515 ExprResult
2743 ExprResult Sema::BuildDeclarationNameExpr(const CXXScopeSpec &SS, in BuildDeclarationNameExpr()
2776 ExprResult Sema::BuildDeclarationNameExpr( in BuildDeclarationNameExpr()
2997 ExprResult Sema::BuildPredefinedExpr(SourceLocation Loc, in BuildPredefinedExpr()
3047 ExprResult Sema::ActOnPredefinedExpr(SourceLocation Loc, tok::TokenKind Kind) { in ActOnPredefinedExpr()
3063 ExprResult Sema::ActOnCharacterConstant(const Token &Tok, Scope *UDLScope) { in ActOnCharacterConstant()
3116 ExprResult Sema::ActOnIntegerConstant(SourceLocation Loc, uint64_t Val) { in ActOnIntegerConstant()
3167 ExprResult R = VerifyIntegerConstantExpression(E, &ValueAPS); in CheckLoopHintExpr()
3182 ExprResult Sema::ActOnNumericConstant(const Token &Tok, Scope *UDLScope) { in ActOnNumericConstant()
3452 ExprResult Sema::ActOnParenExpr(SourceLocation L, SourceLocation R, Expr *E) { in ActOnParenExpr()
3753 ExprResult
3774 ExprResult
3777 ExprResult PE = CheckPlaceholderExpr(E); in CreateUnaryExprOrTypeTraitExpr()
3815 ExprResult
3829 ExprResult Result = CreateUnaryExprOrTypeTraitExpr(ArgEx, OpLoc, ExprKind); in ActOnUnaryExprOrTypeTraitExpr()
3833 static QualType CheckRealImagOperand(Sema &S, ExprResult &V, SourceLocation Loc, in CheckRealImagOperand()
3854 ExprResult PR = S.CheckPlaceholderExpr(V.get()); in CheckRealImagOperand()
3869 ExprResult
3880 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Input); in ActOnPostfixUnaryOp()
3904 ExprResult
3909 ExprResult result = MaybeConvertParenListExprToParenExpr(S, base); in ActOnArraySubscriptExpr()
3920 ExprResult result = CheckPlaceholderExpr(base); in ActOnArraySubscriptExpr()
3925 ExprResult result = CheckPlaceholderExpr(idx); in ActOnArraySubscriptExpr()
3955 ExprResult
3963 ExprResult Result = DefaultFunctionArrayLvalueConversion(LHSExp); in CreateBuiltinArraySubscriptExpr()
3968 ExprResult Result = DefaultFunctionArrayLvalueConversion(RHSExp); in CreateBuiltinArraySubscriptExpr()
4098 ExprResult Sema::BuildCXXDefaultArgExpr(SourceLocation CallLoc, in BuildCXXDefaultArgExpr()
4125 ExprResult Result; in BuildCXXDefaultArgExpr()
4434 ExprResult ArgE = PerformCopyInitialization( in GatherArgumentsForCall()
4443 ExprResult ArgExpr = in GatherArgumentsForCall()
4470 ExprResult arg = checkUnknownAnyArg(CallLoc, Args[i], paramType); in GatherArgumentsForCall()
4478 ExprResult Arg = DefaultVariadicArgumentPromotion(Args[i], CallType, in GatherArgumentsForCall()
4550 static ExprResult rebuildUnknownAnyFunction(Sema &S, Expr *fn);
4601 ExprResult result = S.CheckPlaceholderExpr(args[i]); in checkArgsForPlaceholders()
4691 ExprResult
4696 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Fn); in ActOnCallExpr()
4718 ExprResult result = CheckPlaceholderExpr(Fn); in ActOnCallExpr()
4750 ExprResult result = rebuildUnknownAnyFunction(*this, Fn); in ActOnCallExpr()
4780 ExprResult result = rebuildUnknownAnyFunction(*this, Fn); in ActOnCallExpr()
4834 ExprResult Sema::ActOnAsTypeExpr(Expr *E, ParsedType ParsedDestTy, in ActOnAsTypeExpr()
4855 ExprResult Sema::ActOnConvertVectorExpr(Expr *E, ParsedType ParsedDestTy, in ActOnConvertVectorExpr()
4869 ExprResult
4881 ExprResult Result; in BuildResolvedCallExpr()
4924 ExprResult rewrite = rebuildUnknownAnyFunction(*this, Fn); in BuildResolvedCallExpr()
4995 ExprResult ArgE = in BuildResolvedCallExpr()
5003 ExprResult ArgE = DefaultArgumentPromotion(Arg); in BuildResolvedCallExpr()
5047 ExprResult
5062 ExprResult
5089 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, LiteralExpr, in BuildCompoundLiteralExpr()
5112 ExprResult
5119 ExprResult result = CheckPlaceholderExpr(InitArgList[I]); in ActOnInitList()
5139 static void maybeExtendBlockObject(Sema &S, ExprResult &E) { in maybeExtendBlockObject()
5154 CastKind Sema::PrepareCastToObjCObjectPointer(ExprResult &E) { in PrepareCastToObjCObjectPointer()
5169 CastKind Sema::PrepareScalarCast(ExprResult &Src, QualType DestTy) { in PrepareScalarCast()
5398 ExprResult Sema::CheckExtVectorCast(SourceRange R, QualType DestTy, in CheckExtVectorCast()
5429 ExprResult CastExprRes = CastExpr; in CheckExtVectorCast()
5439 ExprResult
5455 ExprResult Res = CorrectDelayedTyposInExpr(CastExpr); in ActOnCastExpr()
5496 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, CastExpr); in ActOnCastExpr()
5512 ExprResult Sema::BuildVectorLiteral(SourceLocation LParenLoc, in BuildVectorLiteral()
5552 ExprResult Literal = DefaultLvalueConversion(exprs[0]); in BuildVectorLiteral()
5574 ExprResult Literal = DefaultLvalueConversion(exprs[0]); in BuildVectorLiteral()
5594 ExprResult
5600 ExprResult Result(E->getExpr(0)); in MaybeConvertParenListExprToParenExpr()
5611 ExprResult Sema::ActOnParenListExpr(SourceLocation L, in ActOnParenListExpr()
5679 static QualType checkConditionalVoidType(Sema &S, ExprResult &LHS, in checkConditionalVoidType()
5680 ExprResult &RHS) { in checkConditionalVoidType()
5697 static bool checkConditionalNullPointer(Sema &S, ExprResult &NullExpr, in checkConditionalNullPointer()
5710 static QualType checkConditionalPointerCompatibility(Sema &S, ExprResult &LHS, in checkConditionalPointerCompatibility()
5711 ExprResult &RHS, in checkConditionalPointerCompatibility()
5812 ExprResult &LHS, in checkConditionalBlockPointerCompatibility()
5813 ExprResult &RHS, in checkConditionalBlockPointerCompatibility()
5837 checkConditionalObjectPointersCompatibility(Sema &S, ExprResult &LHS, in checkConditionalObjectPointersCompatibility()
5838 ExprResult &RHS, in checkConditionalObjectPointersCompatibility()
5876 static bool checkPointerIntegerMismatch(Sema &S, ExprResult &Int, in checkPointerIntegerMismatch()
5906 static QualType OpenCLArithmeticConversions(Sema &S, ExprResult &LHS, in OpenCLArithmeticConversions()
5907 ExprResult &RHS, in OpenCLArithmeticConversions()
5961 OpenCLConvertScalarsToVectors(Sema &S, ExprResult &LHS, ExprResult &RHS, in OpenCLConvertScalarsToVectors()
6043 OpenCLCheckVectorConditional(Sema &S, ExprResult &Cond, in OpenCLCheckVectorConditional()
6044 ExprResult &LHS, ExprResult &RHS, in OpenCLCheckVectorConditional()
6075 QualType Sema::CheckConditionalOperands(ExprResult &Cond, ExprResult &LHS, in CheckConditionalOperands()
6076 ExprResult &RHS, ExprValueKind &VK, in CheckConditionalOperands()
6080 ExprResult LHSResult = CheckPlaceholderExpr(LHS.get()); in CheckConditionalOperands()
6084 ExprResult RHSResult = CheckPlaceholderExpr(RHS.get()); in CheckConditionalOperands()
6193 QualType Sema::FindCompositeObjCPointerType(ExprResult &LHS, ExprResult &RHS, in FindCompositeObjCPointerType()
6454 ExprResult Sema::ActOnConditionalOp(SourceLocation QuestionLoc, in ActOnConditionalOp()
6462 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
6477 ExprResult result = CheckPlaceholderExpr(commonExpr); in ActOnConditionalOp()
6490 ExprResult commonRes = UsualUnaryConversions(commonExpr); in ActOnConditionalOp()
6506 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
6727 ExprResult RHSPtr = &RHSExpr; in CheckAssignmentConstraints()
6751 Sema::CheckAssignmentConstraints(QualType LHSType, ExprResult &RHS, in CheckAssignmentConstraints()
7018 ExprResult &EResult, QualType UnionType, in ConstructTransparentUnion()
7037 ExprResult &RHS) { in CheckTransparentUnionArgumentConstraints()
7088 Sema::CheckSingleAssignmentConstraints(QualType LHSType, ExprResult &RHS, in CheckSingleAssignmentConstraints()
7096 ExprResult Res; in CheckSingleAssignmentConstraints()
7193 QualType Sema::InvalidOperands(SourceLocation Loc, ExprResult &LHS, in InvalidOperands()
7194 ExprResult &RHS) { in InvalidOperands()
7209 static bool tryVectorConvertAndSplat(Sema &S, ExprResult *scalar, in tryVectorConvertAndSplat()
7248 QualType Sema::CheckVectorOperands(ExprResult &LHS, ExprResult &RHS, in CheckVectorOperands()
7330 static void checkArithmeticNull(Sema &S, ExprResult &LHS, ExprResult &RHS, in checkArithmeticNull()
7366 QualType Sema::CheckMultiplyDivideOperands(ExprResult &LHS, ExprResult &RHS, in CheckMultiplyDivideOperands()
7395 ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) { in CheckRemainderOperands()
7682 ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc, in CheckAdditionOperands()
7756 QualType Sema::CheckSubtractionOperands(ExprResult &LHS, ExprResult &RHS, in CheckSubtractionOperands()
7852 static void DiagnoseBadShiftValues(Sema& S, ExprResult &LHS, ExprResult &RHS, in DiagnoseBadShiftValues()
7924 ExprResult &LHS, ExprResult &RHS, in checkOpenCLVectorShift()
7985 QualType Sema::CheckShiftOperands(ExprResult &LHS, ExprResult &RHS, in CheckShiftOperands()
8003 ExprResult OldLHS = LHS; in CheckShiftOperands()
8073 ExprResult &LHS, ExprResult &RHS, in diagnoseDistinctPointerComparison()
8084 ExprResult &LHS, ExprResult &RHS) { in convertPointersToCompositeType()
8129 ExprResult &LHS, in diagnoseFunctionPointerToVoidComparison()
8130 ExprResult &RHS, in diagnoseFunctionPointerToVoidComparison()
8138 static bool isObjCObjectLiteral(ExprResult &E) { in isObjCObjectLiteral()
8243 ExprResult &LHS, ExprResult &RHS, in diagnoseObjCLiteralComparison()
8291 static void diagnoseLogicalNotOnLHSofComparison(Sema &S, ExprResult &LHS, in diagnoseLogicalNotOnLHSofComparison()
8292 ExprResult &RHS, in diagnoseLogicalNotOnLHSofComparison()
8351 QualType Sema::CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, in CheckCompareOperands()
8767 QualType Sema::CheckVectorCompareOperands(ExprResult &LHS, ExprResult &RHS, in CheckVectorCompareOperands()
8810 QualType Sema::CheckVectorLogicalOperands(ExprResult &LHS, ExprResult &RHS, in CheckVectorLogicalOperands()
8825 ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) { in CheckBitwiseOperands()
8837 ExprResult LHSResult = LHS, RHSResult = RHS; in CheckBitwiseOperands()
8851 ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, unsigned Opc) { in CheckLogicalOperands()
8927 ExprResult LHSRes = PerformContextuallyConvertToBool(LHS.get()); in CheckLogicalOperands()
8932 ExprResult RHSRes = PerformContextuallyConvertToBool(RHS.get()); in CheckLogicalOperands()
9255 QualType Sema::CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS, in CheckAssignmentOperands()
9359 static QualType CheckCommaOperands(Sema &S, ExprResult &LHS, ExprResult &RHS, in CheckCommaOperands()
9438 ExprResult PR = S.CheckPlaceholderExpr(Op); in CheckIncrementDecrementOperand()
9551 QualType Sema::CheckAddressOfOperand(ExprResult &OrigOp, SourceLocation OpLoc) { in CheckAddressOfOperand()
9772 ExprResult ConvResult = S.UsualUnaryConversions(Op); in CheckIndirectionOperand()
9791 ExprResult PR = S.CheckPlaceholderExpr(Op); in CheckIndirectionOperand()
9922 static void checkObjCPointerIntrospection(Sema &S, ExprResult &L, ExprResult &R, in checkObjCPointerIntrospection()
9978 ExprResult Sema::CreateBuiltinBinOp(SourceLocation OpLoc, in CreateBuiltinBinOp()
9993 ExprResult Init = InitSeq.Perform(*this, Entity, Kind, RHSExpr); in CreateBuiltinBinOp()
9999 ExprResult LHS = LHSExpr, RHS = RHSExpr; in CreateBuiltinBinOp()
10014 return ExprResult(E); in CreateBuiltinBinOp()
10377 ExprResult Sema::ActOnBinOp(Scope *S, SourceLocation TokLoc, in ActOnBinOp()
10391 static ExprResult BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, in BuildOverloadedBinOp()
10410 ExprResult Sema::BuildBinOp(Scope *S, SourceLocation OpLoc, in BuildBinOp()
10433 ExprResult resolvedRHS = CheckPlaceholderExpr(RHSExpr); in BuildBinOp()
10442 ExprResult LHS = CheckPlaceholderExpr(LHSExpr); in BuildBinOp()
10466 ExprResult resolvedRHS = CheckPlaceholderExpr(RHSExpr); in BuildBinOp()
10488 ExprResult Sema::CreateBuiltinUnaryOp(SourceLocation OpLoc, in CreateBuiltinUnaryOp()
10491 ExprResult Input = InputExpr; in CreateBuiltinUnaryOp()
10693 ExprResult Sema::BuildUnaryOp(Scope *S, SourceLocation OpLoc, in BuildUnaryOp()
10716 ExprResult Result = CheckPlaceholderExpr(Input); in BuildUnaryOp()
10741 ExprResult Sema::ActOnUnaryOp(Scope *S, SourceLocation OpLoc, in ActOnUnaryOp()
10747 ExprResult Sema::ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, in ActOnAddrLabel()
10790 ExprResult
10821 ExprResult LastExpr = DefaultFunctionArrayConversion(LastE); in ActOnStmtExpr()
10866 ExprResult Sema::BuildBuiltinOffsetOf(SourceLocation BuiltinLoc, in BuildBuiltinOffsetOf()
10915 ExprResult IdxRval = DefaultLvalueConversion(static_cast<Expr*>(OC.U.E)); in BuildBuiltinOffsetOf()
11040 ExprResult Sema::ActOnBuiltinOffsetOf(Scope *S, in ActOnBuiltinOffsetOf()
11061 ExprResult Sema::ActOnChooseExpr(SourceLocation BuiltinLoc, in ActOnChooseExpr()
11078 ExprResult CondICE in ActOnChooseExpr()
11262 ExprResult Sema::ActOnBlockStmtExpr(SourceLocation CaretLoc, in ActOnBlockStmtExpr()
11380 ExprResult Sema::ActOnVAArg(SourceLocation BuiltinLoc, in ActOnVAArg()
11388 ExprResult Sema::BuildVAArgExpr(SourceLocation BuiltinLoc, in BuildVAArgExpr()
11401 ExprResult Result = UsualUnaryConversions(E); in BuildVAArgExpr()
11411 ExprResult Init = PerformCopyInitialization(Entity, SourceLocation(), E); in BuildVAArgExpr()
11473 ExprResult Sema::ActOnGNUNullExpr(SourceLocation TokenLoc) { in ActOnGNUNullExpr()
11726 ExprResult Sema::VerifyIntegerConstantExpression(Expr *E, in VerifyIntegerConstantExpression()
11738 ExprResult Sema::VerifyIntegerConstantExpression(Expr *E, in VerifyIntegerConstantExpression()
11762 ExprResult
11774 ExprResult Converted; in VerifyIntegerConstantExpression()
11914 ExprResult TransformDeclRefExpr(DeclRefExpr *E) { in TransformDeclRefExpr()
11925 ExprResult TransformUnaryOperator(UnaryOperator *E) { in TransformUnaryOperator()
11932 ExprResult TransformLambdaExpr(LambdaExpr *E) { in TransformLambdaExpr()
11939 ExprResult Sema::TransformToPotentiallyEvaluated(Expr *E) { in TransformToPotentiallyEvaluated()
12035 ExprResult Sema::HandleExprEvaluationContextForTypeof(Expr *E) { in HandleExprEvaluationContextForTypeof()
12463 ExprResult Result in captureInBlock()
12538 static ExprResult addAsFieldToClosureType(Sema &S, in addAsFieldToClosureType()
12604 ExprResult IterationVarRef in addAsFieldToClosureType()
12613 ExprResult Subscript = S.CreateBuiltinArraySubscriptExpr( in addAsFieldToClosureType()
12641 ExprResult Result(true); in addAsFieldToClosureType()
12738 ExprResult Result = addAsFieldToClosureType(S, LSI, Var, in captureInLambda()
13123 ExprResult Sema::ActOnConstantExpression(ExprResult Res) { in ActOnConstantExpression()
13661 ExprResult Sema::CheckBooleanCondition(Expr *E, SourceLocation Loc) { in CheckBooleanCondition()
13666 ExprResult result = CheckPlaceholderExpr(E); in CheckBooleanCondition()
13674 ExprResult ERes = DefaultFunctionArrayLvalueConversion(E); in CheckBooleanCondition()
13691 ExprResult Sema::ActOnBooleanCondition(Scope *S, SourceLocation Loc, in ActOnBooleanCondition()
13703 : StmtVisitor<RebuildUnknownAnyFunction, ExprResult> {
13709 ExprResult VisitStmt(Stmt *S) { in VisitStmt()
13713 ExprResult VisitExpr(Expr *E) { in VisitExpr()
13721 template <class T> ExprResult rebuildSugarExpr(T *E) { in rebuildSugarExpr()
13722 ExprResult SubResult = Visit(E->getSubExpr()); in rebuildSugarExpr()
13733 ExprResult VisitParenExpr(ParenExpr *E) { in VisitParenExpr()
13737 ExprResult VisitUnaryExtension(UnaryOperator *E) { in VisitUnaryExtension()
13741 ExprResult VisitUnaryAddrOf(UnaryOperator *E) { in VisitUnaryAddrOf()
13742 ExprResult SubResult = Visit(E->getSubExpr()); in VisitUnaryAddrOf()
13753 ExprResult resolveDecl(Expr *E, ValueDecl *VD) { in resolveDecl()
13767 ExprResult VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
13771 ExprResult VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr()
13779 static ExprResult rebuildUnknownAnyFunction(Sema &S, Expr *FunctionExpr) { in rebuildUnknownAnyFunction()
13780 ExprResult Result = RebuildUnknownAnyFunction(S).Visit(FunctionExpr); in rebuildUnknownAnyFunction()
13791 : StmtVisitor<RebuildUnknownAnyExpr, ExprResult> {
13801 ExprResult VisitStmt(Stmt *S) { in VisitStmt()
13805 ExprResult VisitExpr(Expr *E) { in VisitExpr()
13811 ExprResult VisitCallExpr(CallExpr *E);
13812 ExprResult VisitObjCMessageExpr(ObjCMessageExpr *E);
13816 template <class T> ExprResult rebuildSugarExpr(T *E) { in rebuildSugarExpr()
13817 ExprResult SubResult = Visit(E->getSubExpr()); in rebuildSugarExpr()
13827 ExprResult VisitParenExpr(ParenExpr *E) { in VisitParenExpr()
13831 ExprResult VisitUnaryExtension(UnaryOperator *E) { in VisitUnaryExtension()
13835 ExprResult VisitUnaryAddrOf(UnaryOperator *E) { in VisitUnaryAddrOf()
13848 ExprResult SubResult = Visit(E->getSubExpr()); in VisitUnaryAddrOf()
13854 ExprResult VisitImplicitCastExpr(ImplicitCastExpr *E);
13856 ExprResult resolveDecl(Expr *E, ValueDecl *VD);
13858 ExprResult VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
13862 ExprResult VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr()
13869 ExprResult RebuildUnknownAnyExpr::VisitCallExpr(CallExpr *E) { in VisitCallExpr()
13970 ExprResult CalleeResult = Visit(CalleeExpr); in VisitCallExpr()
13978 ExprResult RebuildUnknownAnyExpr::VisitObjCMessageExpr(ObjCMessageExpr *E) { in VisitObjCMessageExpr()
13999 ExprResult RebuildUnknownAnyExpr::VisitImplicitCastExpr(ImplicitCastExpr *E) { in VisitImplicitCastExpr()
14010 ExprResult Result = Visit(E->getSubExpr()); in VisitImplicitCastExpr()
14026 ExprResult Result = Visit(E->getSubExpr()); in VisitImplicitCastExpr()
14036 ExprResult RebuildUnknownAnyExpr::resolveDecl(Expr *E, ValueDecl *VD) { in resolveDecl()
14046 ExprResult Result = resolveDecl(E, VD); in resolveDecl()
14128 ExprResult Sema::checkUnknownAnyCast(SourceRange TypeRange, QualType CastType, in checkUnknownAnyCast()
14132 ExprResult result = RebuildUnknownAnyExpr(*this, CastType).Visit(CastExpr); in checkUnknownAnyCast()
14142 ExprResult Sema::forceUnknownAnyToType(Expr *E, QualType ToType) { in forceUnknownAnyToType()
14146 ExprResult Sema::checkUnknownAnyArg(SourceLocation callLoc, in checkUnknownAnyArg()
14152 ExprResult result = DefaultArgumentPromotion(arg); in checkUnknownAnyArg()
14169 static ExprResult diagnoseUnknownAnyExpr(Sema &S, Expr *E) { in diagnoseUnknownAnyExpr()
14214 ExprResult Sema::CheckPlaceholderExpr(Expr *E) { in CheckPlaceholderExpr()
14219 ExprResult Result = CorrectDelayedTyposInExpr(E); in CheckPlaceholderExpr()
14233 ExprResult result = E; in CheckPlaceholderExpr()
14247 ExprResult result = E; in CheckPlaceholderExpr()
14315 ExprResult