Home | History | Annotate | Download | only in Sema

Lines Matching full:conversion

2837         //     context of direct-initialization, explicit conversion functions
2899 // explicit conversion operators.
2974 // Add the constructor initialization step. Any cv-qualification conversion is
3144 /// \brief Try a reference initialization that involves calling a conversion
3165 "Must have incompatible references when binding via conversion");
3176 // explicit conversion operators.
3184 // to see if there is a suitable conversion.
3222 // The type we're converting from is a class type, enumerate its conversion
3242 // If the conversion function doesn't return a reference type,
3243 // it can't be considered for this conversion unless we're allowed to
3245 // FIXME: Do we need to make sure that we only consider conversion
3277 // Compute the returned type of the conversion.
3283 // Add the user-defined conversion step.
3307 // type we're looking for, then there is another conversion step
3428 // with "cv3 T3" (this conversion is selected by enumerating the
3429 // applicable conversion functions (13.3.1.6) and choosing the best
3539 // explicit conversion operators.
3553 // FIXME: Use the conversion function set stored in ICS to turn
3693 /// \brief Attempt a user-defined conversion between two types (C++ [dcl.init]),
3694 /// which enumerates all conversion functions and performs overload resolution
3705 "Must have a class type to perform a user-defined conversion");
3713 // explicit conversion operators.
3718 // to see if there is a suitable conversion.
3759 // The type we're converting from is a class type, enumerate its conversion
3762 // We can only enumerate the conversion functions for a complete type; if
3813 // Add the user-defined conversion step. Any cv-qualification conversion is
3822 // Add the user-defined conversion step that calls the conversion function.
3827 // a base class type). That copy is not a separate conversion, so
3829 // base class of the type returned by the conversion function) and
3830 // let the user-defined conversion step handle the conversion.
3839 // If the conversion following the call to the conversion function
3957 // Handle write-back conversion.
3969 // Do we need an lvalue conversion?
4125 // We're at the end of the line for C: it's either a write-back conversion
4128 // If allowed, check whether this is an Objective-C writeback conversion.
4155 // user-defined conversion sequences that can convert from the source
4156 // type to the destination type or (when a conversion function is
4172 // type, conversion functions are considered.
4195 // Objective-C ARC writeback conversion.
4203 // If there was an lvalue adjustment, add it as a separate conversion.
4661 // context of direct-initialization, explicit conversion functions
4982 // We have a user-defined conversion that invokes either a constructor
4983 // or a conversion function.
5026 // Build a call to the conversion function.
5027 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn);
5033 // derived-to-base conversion? I believe the answer is "no", because
5037 FoundFn, Conversion);
5042 // Build the actual call to the conversion function.
5043 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion,
5050 CreatedObject = Conversion->getResultType()->isRecordType();
5083 // Perform a qualification conversion; these can never go wrong.
5150 // conversion step for this case, but this makes it considerably more
5185 // conversion step for this case, but this makes it considerably more
5232 // If this is a call, allow conversion to a transparent union.
5468 llvm_unreachable("Conversion did not fail!");
5664 llvm_unreachable("Conversion did not fail!");
5815 OS << "conversion failed";
5819 OS << "conversion from property failed";
5835 OS << "overloading failed for user-defined conversion";
5922 OS << "user-defined conversion via " << *S->Function.Function;
5926 OS << "qualification conversion (rvalue)";
5930 OS << "qualification conversion (xvalue)";
5934 OS << "qualification conversion (lvalue)";
5938 OS << "implicit conversion sequence (";
5976 OS << "Objective-C object conversion";
6017 // A narrowing conversion can only appear as the final implicit conversion in
6038 // Determine the type prior to the narrowing conversion. If a conversion
6045 // C++11 [dcl.init.list]p7: Check whether this is a narrowing conversion.
6055 // This was a floating-to-integer conversion, which is always considered a
6056 // narrowing conversion even if the value is a constant and can be