Home | History | Annotate | Download | only in Sema

Lines Matching refs:Conversion

3456       //   ... and the constructor or user-defined conversion function is a
3461 // user-defined conversion sequences are not considered.
3466 // itself an initializer list and a conversion to some class X or
3487 // context of direct-initialization, explicit conversion functions
3537 // explicit conversion operators.
3623 // Add the constructor initialization step. Any cv-qualification conversion is
3864 // value T(v); if a narrowing conversion is required to convert v to
3874 // If there is either an implicit conversion sequence from v to T or
3875 // a conversion function that can convert from v to T, then we use that.
3884 // If E is of a floating-point type, then the conversion is ill-formed
3904 // direct-list-initialization); if a narrowing conversion is required
3911 // conversion operator, so we only need to handle the cases where the source
3941 /// \brief Try a reference initialization that involves calling a conversion
3962 "Must have incompatible references when binding via conversion");
3973 // explicit conversion operators.
3981 // to see if there is a suitable conversion.
4009 // The type we're converting from is a class type, enumerate its conversion
4027 // If the conversion function doesn't return a reference type,
4028 // it can't be considered for this conversion unless we're allowed to
4030 // FIXME: Do we need to make sure that we only consider conversion
4064 // Compute the returned type of the conversion.
4070 // Add the user-defined conversion step.
4094 // type we're looking for, then there is another conversion step
4265 // with "cv3 T3" (this conversion is selected by enumerating the
4266 // applicable conversion functions (13.3.1.6) and choosing the best
4384 // FIXME: Why do we use an implicit conversion here rather than trying
4395 // FIXME: Use the conversion function set stored in ICS to turn
4561 /// \brief Attempt a user-defined conversion between two types (C++ [dcl.init]),
4562 /// which enumerates all conversion functions and performs overload resolution
4573 "Must have a class type to perform a user-defined conversion");
4581 // explicit conversion operators.
4586 // to see if there is a suitable conversion.
4624 // The type we're converting from is a class type, enumerate its conversion
4627 // We can only enumerate the conversion functions for a complete type; if
4677 // Add the user-defined conversion step. Any cv-qualification conversion is
4686 // Add the user-defined conversion step that calls the conversion function.
4691 // a base class type). That copy is not a separate conversion, so
4693 // base class of the type returned by the conversion function) and
4694 // let the user-defined conversion step handle the conversion.
4703 // If the conversion following the call to the conversion function
4850 // Handle write-back conversion.
4862 // Do we need an lvalue conversion?
5100 // We're at the end of the line for C: it's either a write-back conversion
5103 // If allowed, check whether this is an Objective-C writeback conversion.
5136 // user-defined conversion sequences that can convert from the source
5137 // type to the destination type or (when a conversion function is
5154 // type, conversion functions are considered.
5156 // For a conversion to _Atomic(T) from either T or a class type derived
5192 // Objective-C ARC writeback conversion.
5200 // If there was an lvalue adjustment, add it as a separate conversion.
5715 // context of direct-initialization, explicit conversion functions
6503 // We have a user-defined conversion that invokes either a constructor
6504 // or a conversion function.
6551 // Build a call to the conversion function.
6552 CXXConversionDecl *Conversion = cast<CXXConversionDecl>(Fn);
6559 // derived-to-base conversion? I believe the answer is "no", because
6564 FoundFn, Conversion);
6569 // Build the actual call to the conversion function.
6570 CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion,
6577 CreatedObject = Conversion->getReturnType()->isRecordType();
6610 // Perform a qualification conversion; these can never go wrong.
6698 // conversion step for this case, but this makes it considerably more
6741 // conversion step for this case, but this makes it considerably more
6796 // If this is a call, allow conversion to a transparent union.
6990 /// "simple" conversion failure.
6997 // Emit a possible note about the conversion failing because the
7167 llvm_unreachable("Conversion did not fail!");
7372 llvm_unreachable("Conversion did not fail!");
7507 OS << "conversion failed";
7511 OS << "conversion from property failed";
7527 OS << "overloading failed for user-defined conversion";
7610 OS << "user-defined conversion via " << *S->Function.Function;
7614 OS << "qualification conversion (rvalue)";
7618 OS << "qualification conversion (xvalue)";
7622 OS << "qualification conversion (lvalue)";
7626 OS << "non-atomic-to-atomic conversion";
7634 OS << "implicit conversion sequence (";
7640 OS << "implicit conversion sequence with narrowing prohibited (";
7678 OS << "Objective-C object conversion";
7747 // C++11 [dcl.init.list]p7: Check whether this is a narrowing conversion.
7757 // This was a floating-to-integer conversion, which is always considered a
7758 // narrowing conversion even if the value is a constant and can be