Lines Matching defs:Conversion
2805 // context of direct-initialization, explicit conversion functions
2854 // explicit conversion operators.
2936 // Add the constructor initialization step. Any cv-qualification conversion is
3132 /// \brief Try a reference initialization that involves calling a conversion
3153 "Must have incompatible references when binding via conversion");
3164 // explicit conversion operators.
3172 // to see if there is a suitable conversion.
3214 // The type we're converting from is a class type, enumerate its conversion
3235 // If the conversion function doesn't return a reference type,
3236 // it can't be considered for this conversion unless we're allowed to
3238 // FIXME: Do we need to make sure that we only consider conversion
3269 // Compute the returned type of the conversion.
3275 // Add the user-defined conversion step.
3299 // type we're looking for, then there is another conversion step
3420 // with "cv3 T3" (this conversion is selected by enumerating the
3421 // applicable conversion functions (13.3.1.6) and choosing the best
3531 // explicit conversion operators.
3545 // FIXME: Use the conversion function set stored in ICS to turn
3712 /// \brief Attempt a user-defined conversion between two types (C++ [dcl.init]),
3713 /// which enumerates all conversion functions and performs overload resolution
3724 "Must have a class type to perform a user-defined conversion");
3732 // explicit conversion operators.
3737 // to see if there is a suitable conversion.
3783 // The type we're converting from is a class type, enumerate its conversion
3786 // We can only enumerate the conversion functions for a complete type; if
3837 // Add the user-defined conversion step. Any cv-qualification conversion is
3846 // Add the user-defined conversion step that calls the conversion function.
3851 // a base class type). That copy is not a separate conversion, so
3853 // base class of the type returned by the conversion function) and
3854 // let the user-defined conversion step handle the conversion.
3863 // If the conversion following the call to the conversion function
3993 // Handle write-back conversion.
4005 // Do we need an lvalue conversion?
4194 // We're at the end of the line for C: it's either a write-back conversion
4197 // If allowed, check whether this is an Objective-C writeback conversion.
4230 // user-defined conversion sequences that can convert from the source
4231 // type to the destination type or (when a conversion function is
4247 // type, conversion functions are considered.
4270 // Objective-C ARC writeback conversion.
4278 // If there was an lvalue adjustment, add it as a separate conversion.
4741 // context of direct-initialization, explicit conversion functions
5123 // We have a user-defined conversion that invokes either a constructor
5124 // or a conversion function.
5168 // Build a call to the conversion function.
5169 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn);
5175 // derived-to-base conversion? I believe the answer is "no", because
5179 FoundFn, Conversion);
5184 // Build the actual call to the conversion function.
5185 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion,
5192 CreatedObject = Conversion->getResultType()->isRecordType();
5225 // Perform a qualification conversion; these can never go wrong.
5295 // conversion step for this case, but this makes it considerably more
5334 // conversion step for this case, but this makes it considerably more
5383 // If this is a call, allow conversion to a transparent union.
5692 llvm_unreachable("Conversion did not fail!");
5890 llvm_unreachable("Conversion did not fail!");
6042 OS << "conversion failed";
6046 OS << "conversion from property failed";
6062 OS << "overloading failed for user-defined conversion";
6149 OS << "user-defined conversion via " << *S->Function.Function;
6153 OS << "qualification conversion (rvalue)";
6157 OS << "qualification conversion (xvalue)";
6161 OS << "qualification conversion (lvalue)";
6165 OS << "implicit conversion sequence (";
6203 OS << "Objective-C object conversion";
6256 // A narrowing conversion can only appear as the final implicit conversion in
6277 // Determine the type prior to the narrowing conversion. If a conversion
6284 // C++11 [dcl.init.list]p7: Check whether this is a narrowing conversion.
6294 // This was a floating-to-integer conversion, which is always considered a
6295 // narrowing conversion even if the value is a constant and can be