Home | History | Annotate | Download | only in Sema

Lines Matching defs:Result

318       ExprResult result = CheckPlaceholderExpr(E);
319 if (result.isInvalid()) return ExprError();
320 E = result.take();
339 ExprResult Result = TranformToPotentiallyEvaluated(E);
340 if (Result.isInvalid()) return ExprError();
341 E = Result.take();
350 // cv-qualified type, the result of the typeid expression refers to a
608 // Initialize the exception result. This implicitly weeds out
864 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, exprs);
866 if (!Result.isInvalid() && ListInitialization &&
867 isa<InitListExpr>(Result.get())) {
872 InitListExpr *List = cast<InitListExpr>(Result.take());
873 Result = Owned(CXXFunctionalCastExpr::Create(Context, List->getType(),
880 return Result;
1749 ExprResult Result
1751 if (Result.isInvalid())
1754 Args[i] = Result.takeAs<Expr>();
1797 llvm_unreachable("Unreachable, bad result from BestViableFunction");
2048 // conversion function to a pointer type. The result has type void.
2361 ExprResult Result
2366 if (Result.isInvalid())
2369 return S.MaybeBindToTemporary(Result.takeAs<Expr>());
2377 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv,
2379 if (Result.isInvalid())
2382 Result = S.Owned(ImplicitCastExpr::Create(S.Context,
2383 Result.get()->getType(),
2385 Result.get(), 0,
2386 Result.get()->getValueKind()));
2390 return S.MaybeBindToTemporary(Result.get());
2879 // specialization may result in the implicit instantiation of the template
3411 ExprResult Result = Init.Perform(S, To, InitKind, ArgExprs);
3412 if (Result.isInvalid() || SFINAE.hasErrorOccurred())
3423 return !Result.get()->hasNonTrivialCall(S.Context);
3548 // Compute the result of add_rvalue_reference.
3569 ExprResult Result = Init.Perform(Self, To, Kind, FromPtr);
3570 return !Result.isInvalid() && !SFINAE.hasErrorOccurred();
3614 ExprResult Result = Self.BuildBinOp(/*S=*/0, KeyLoc, BO_Assign, &Lhs, &Rhs);
3615 if (Result.isInvalid() || SFINAE.hasErrorOccurred())
3624 return !Result.get()->hasNonTrivialCall(Self.Context);
3650 // Select trait result type.
3764 ExprResult Result = BuildExpressionTrait(ET, KWLoc, Queried, RParen);
3766 return Result;
3884 // The result is an object or a function of the type specified by the
3888 QualType Result = MemPtr->getPointeeType();
3889 Result = Context.getCVRQualifiedType(Result, LHSType.getCVRQualifiers());
3897 if (const FunctionProtoType *Proto = Result->getAs<FunctionProtoType>()) {
3918 // The result of a .* expression whose second operand is a pointer
3920 // first operand. The result of a .* expression whose second
3922 // result of an ->* expression is an lvalue if its second operand
3924 if (Result->isFunctionType()) {
3933 return Result;
4096 ExprResult Result = InitSeq.Perform(Self, Entity, Kind, Arg);
4097 if (Result.isInvalid())
4100 E = Result;
4167 // expression; the result is of the type of the other and is a prvalue.
4175 // -- Both the second and third operands have type void; the result is of
4235 // result to be as if a reference bound directly, the only conversion
4251 // category and have the same type, the result is of that type and
4268 // Otherwise, the result is a prvalue. If the second and third operands
4289 // -- The second and third operands have the same type; the result
4290 // is of that type. If the operands have class type, the result
4291 // is a prvalue temporary of the result type, which is
4327 // common type, and the result is of that type.
4339 // to their composite pointer type. The result is of the composite
4346 // operand. The result is of the common type.
4611 // If the result is a glvalue, we shouldn't bind it.
4900 ExprResult Result = MaybeConvertParenListExprToParenExpr(S, Base);
4901 if (Result.isInvalid()) return ExprError();
4902 Base = Result.get();
4904 Result = CheckPlaceholderExpr(Base);
4905 if (Result.isInvalid()) return ExprError();
4906 Base = Result.take();
4933 Result = BuildOverloadedArrowExpr(S, Base, OpLoc);
4934 if (Result.isInvalid())
4936 Base = Result.get();
5010 ExprResult result = S.CheckPlaceholderExpr(Base);
5011 if (result.isInvalid()) return true;
5012 Base = result.take();
5126 Expr *Result
5136 return Owned(Result);
5138 return DiagnoseDtorReference(Destructed.getLocation(), Result);
5424 /// context that ignores the result.
5427 ExprResult result = CheckPlaceholderExpr(E);
5428 if (result.isInvalid()) return Owned(E);
5429 E = result.take();
5527 // If the name itself is dependent, then the result is dependent.