Lines Matching refs:ExprResult
372 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, in BuildCXXTypeId()
397 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, in BuildCXXTypeId()
404 ExprResult result = CheckPlaceholderExpr(E); in BuildCXXTypeId()
425 ExprResult Result = TransformToPotentiallyEvaluated(E); in BuildCXXTypeId()
465 ExprResult
549 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType, in BuildCXXUuidof()
569 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType, in BuildCXXUuidof()
593 ExprResult
627 ExprResult
636 ExprResult
642 ExprResult
679 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, in BuildCXXThrow()
716 ExprResult Res = PerformMoveOrCopyInitialization( in BuildCXXThrow()
1067 ExprResult ER = Init.Perform(S, Entity, InitKind, StarThis); in captureThis()
1188 ExprResult Sema::ActOnCXXThis(SourceLocation Loc) { in ActOnCXXThis()
1212 ExprResult
1239 ExprResult
1300 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Exprs); in BuildCXXTypeConstructExpr()
1398 ExprResult
1498 ExprResult
1594 ExprResult result = CheckPlaceholderExpr(ArraySize); in BuildCXXNew()
1606 ExprResult ConvertedSize; in BuildCXXNew()
1846 ExprResult FullInit = InitSeq.Perform(*this, Entity, Kind, in BuildCXXNew()
2841 ExprResult
2851 ExprResult Ex = ExE; in ActOnCXXDelete()
3067 ExprResult E = in ActOnConditionVariable()
3077 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar, in CheckConditionVariable()
3096 ExprResult Condition = DeclRefExpr::Create( in CheckConditionVariable()
3118 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition()
3175 static ExprResult BuildCXXCastArgument(Sema &S, in BuildCXXCastArgument()
3201 ExprResult Result = S.BuildCXXConstructExpr( in BuildCXXCastArgument()
3221 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
3240 ExprResult
3247 ExprResult Res = PerformImplicitConversion(From, ToType, ICS.Standard, in PerformImplicitConversion()
3281 ExprResult Res = in PerformImplicitConversion()
3290 ExprResult CastArg in PerformImplicitConversion()
3330 ExprResult
3403 ExprResult FromRes = DefaultLvalueConversion(From); in PerformImplicitConversion()
3559 ExprResult E = From; in PerformImplicitConversion()
3690 ExprResult FromRes = From; in PerformImplicitConversion()
4406 ExprResult Result = Init.Perform(S, To, InitKind, ArgExprs); in evaluateTypeTrait()
4437 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in BuildTypeTrait()
4462 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in ActOnTypeTrait()
4580 ExprResult Result = Init.Perform(Self, To, Kind, FromPtr); in EvaluateBinaryTypeTrait()
4627 ExprResult Result = Self.BuildBinOp(/*S=*/nullptr, KeyLoc, BO_Assign, &Lhs, in EvaluateBinaryTypeTrait()
4656 ExprResult Sema::ActOnArrayTypeTrait(ArrayTypeTrait ATT, in ActOnArrayTypeTrait()
4723 ExprResult Sema::BuildArrayTypeTrait(ArrayTypeTrait ATT, in BuildArrayTypeTrait()
4745 ExprResult Sema::ActOnExpressionTrait(ExpressionTrait ET, in ActOnExpressionTrait()
4753 ExprResult Result = BuildExpressionTrait(ET, KWLoc, Queried, RParen); in ActOnExpressionTrait()
4766 ExprResult Sema::BuildExpressionTrait(ExpressionTrait ET, in BuildExpressionTrait()
4773 ExprResult PE = CheckPlaceholderExpr(Queried); in BuildExpressionTrait()
4784 QualType Sema::CheckPointerToMemberOperands(ExprResult &LHS, ExprResult &RHS, in CheckPointerToMemberOperands()
5026 static bool FindConditionalOverload(Sema &Self, ExprResult &LHS, ExprResult &RHS, in FindConditionalOverload()
5038 ExprResult LHSRes = in FindConditionalOverload()
5045 ExprResult RHSRes = in FindConditionalOverload()
5085 static bool ConvertForConditional(Sema &Self, ExprResult &E, QualType T) { in ConvertForConditional()
5091 ExprResult Result = InitSeq.Perform(Self, Entity, Kind, Arg); in ConvertForConditional()
5103 QualType Sema::CXXCheckConditionalOperands(ExprResult &Cond, ExprResult &LHS, in CXXCheckConditionalOperands()
5104 ExprResult &RHS, ExprValueKind &VK, in CXXCheckConditionalOperands()
5113 ExprResult CondRes = CheckCXXBooleanCondition(Cond.get()); in CXXCheckConditionalOperands()
5275 ExprResult LHSCopy = PerformCopyInitialization(Entity, in CXXCheckConditionalOperands()
5281 ExprResult RHSCopy = PerformCopyInitialization(Entity, in CXXCheckConditionalOperands()
5550 ExprResult E1Result in FindCompositePointerType()
5557 ExprResult E2Result in FindCompositePointerType()
5575 ExprResult E1Result in FindCompositePointerType()
5582 ExprResult E2Result in FindCompositePointerType()
5591 ExprResult Sema::MaybeBindToTemporary(Expr *E) { in MaybeBindToTemporary()
5739 ExprResult
5740 Sema::MaybeCreateExprWithCleanups(ExprResult SubExpr) { in MaybeCreateExprWithCleanups()
5793 ExprResult Sema::ActOnDecltypeExpression(Expr *E) { in ActOnDecltypeExpression()
5807 ExprResult SubExpr = ActOnDecltypeExpression(PE->getSubExpr()); in ActOnDecltypeExpression()
5816 ExprResult RHS = ActOnDecltypeExpression(BO->getRHS()); in ActOnDecltypeExpression()
5913 ExprResult Sema::ActOnStartCXXMemberReference(Scope *S, Expr *Base, in ActOnStartCXXMemberReference()
5919 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Base); in ActOnStartCXXMemberReference()
6059 ExprResult result = S.CheckPlaceholderExpr(Base); in CheckArrow()
6089 ExprResult Sema::BuildPseudoDestructorExpr(Expr *Base, in BuildPseudoDestructorExpr()
6187 ExprResult Sema::ActOnPseudoDestructorExpr(Scope *S, Expr *Base, in ActOnPseudoDestructorExpr()
6324 ExprResult Sema::ActOnPseudoDestructorExpr(Scope *S, Expr *Base, in ActOnPseudoDestructorExpr()
6347 ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl, in BuildCXXMemberCallExpr()
6369 ExprResult Exp = BuildBlockForLambdaConversion(E->getExprLoc(), in BuildCXXMemberCallExpr()
6380 ExprResult Exp = PerformObjectArgumentInitialization(E, /*Qualifier=*/nullptr, in BuildCXXMemberCallExpr()
6402 ExprResult Sema::BuildCXXNoexceptExpr(SourceLocation KeyLoc, Expr *Operand, in BuildCXXNoexceptExpr()
6407 ExprResult R = CheckPlaceholderExpr(Operand); in BuildCXXNoexceptExpr()
6426 ExprResult Sema::ActOnNoexceptExpr(SourceLocation KeyLoc, SourceLocation, in ActOnNoexceptExpr()
6488 ExprResult Sema::IgnoredValueConversions(Expr *E) { in IgnoredValueConversions()
6490 ExprResult result = CheckPlaceholderExpr(E); in IgnoredValueConversions()
6518 ExprResult Res = DefaultLvalueConversion(E); in IgnoredValueConversions()
6535 ExprResult Res = DefaultFunctionArrayLvalueConversion(E); in IgnoredValueConversions()
6677 static ExprResult attemptRecovery(Sema &SemaRef, in attemptRecovery()
6753 llvm::function_ref<ExprResult(Expr *)> ExprFilter;
6755 llvm::SmallDenseMap<TypoExpr *, ExprResult, 2> TransformCache;
6768 ExprResult Replacement = TransformCache[TE]; in EmitAllDiagnostics()
6821 ExprResult TryTransform(Expr *E) { in TryTransform()
6823 ExprResult Res = TransformExpr(E); in TryTransform()
6831 TransformTypos(Sema &SemaRef, VarDecl *InitDecl, llvm::function_ref<ExprResult(Expr *)> Filter) in TransformTypos()
6834 ExprResult RebuildCallExpr(Expr *Callee, SourceLocation LParenLoc, in RebuildCallExpr()
6852 ExprResult TransformLambdaExpr(LambdaExpr *E) { return Owned(E); } in TransformLambdaExpr()
6854 ExprResult TransformBlockExpr(BlockExpr *E) { return Owned(E); } in TransformBlockExpr()
6856 ExprResult TransformObjCPropertyRefExpr(ObjCPropertyRefExpr *E) { in TransformObjCPropertyRefExpr()
6860 ExprResult TransformObjCIvarRefExpr(ObjCIvarRefExpr *E) { in TransformObjCIvarRefExpr()
6864 ExprResult Transform(Expr *E) { in Transform()
6865 ExprResult Res; in Transform()
6912 ExprResult TransformTypoExpr(TypoExpr *E) { in TransformTypoExpr()
6929 ExprResult NE = State.RecoveryHandler ? in TransformTypoExpr()
6953 ExprResult
6955 llvm::function_ref<ExprResult(Expr *)> Filter) { in CorrectDelayedTyposInExpr()
6978 ExprResult Sema::ActOnFinishFullExpr(Expr *FE, SourceLocation CC, in ActOnFinishFullExpr()
6982 ExprResult FullExpr = FE; in ActOnFinishFullExpr()