Home | History | Annotate | Download | only in Sema

Lines Matching refs:Standard

186 /// StandardConversionSequence - Set the standard conversion
204 /// getRank - Retrieve the rank of this standard conversion sequence
220 /// used as part of the ranking of standard conversion sequences
240 /// used as part of the ranking of standard conversion sequences (C++
261 /// DebugPrint - Print this standard conversion sequence to standard
300 /// DebugPrint - Print this user-defined conversion sequence to standard
315 /// DebugPrint - Print this implicit conversion sequence to standard
321 OS << "Standard conversion: ";
322 Standard.DebugPrint();
844 /// describe the initialization of f from i, which will be a standard
871 ICS.Standard, CStyle, AllowObjCWritebackConversion)){
893 ICS.Standard.setAsIdentityConversion();
894 ICS.Standard.setFromType(FromType);
895 ICS.Standard.setAllToTypes(ToType);
901 ICS.Standard.CopyConstructor = 0;
905 ICS.Standard.Second = ICK_Derived_To_Base;
940 // Turn this into a "standard" conversion sequence, so that it
941 // gets ranked with standard conversion sequences.
943 ICS.Standard.setAsIdentityConversion();
944 ICS.Standard
945 ICS.Standard.setAllToTypes(ToType);
946 ICS.Standard.CopyConstructor = Constructor;
948 ICS.Standard.Second = ICK_Derived_To_Base;
957 // 13.3.1.6 in all cases, only standard conversion sequences and
1114 /// IsStandardConversion - Determines whether there is a standard
1116 /// expression From to the type ToType. Standard conversion sequences
1119 /// contain the standard conversion sequence required to perform this
1129 // Standard conversions (C++ [conv])
1136 // There are no standard conversions for class types in C++, so
1142 // When we're overloading in C, we allow, as standard conversions,
1166 // otherwise, only a boolean conversion is standard
2589 // Record the standard conversion we used and the conversion function.
2596 // constructor (12.3.1), the initial standard conversion
2604 User.Before = Best->Conversions[0].Standard;
2621 // conversion function (12.3.2), the initial standard
2624 User.Before = Best->Conversions[0].Standard;
2631 // The second standard conversion sequence converts the
2690 // -- a standard conversion sequence (13.3.3.1.1) is a better
2716 return CompareStandardConversionSequences(S, ICS1.Standard, ICS2.Standard);
2721 // constructor and if the second standard conversion sequence of
2722 // U1 is better than the second standard conversion sequence of
2744 // Per 13.3.3.2p3, compare the given standard conversion sequences to
2802 // time of this writing) break the standard definition of std::forward
2815 /// CompareStandardConversionSequences - Compare two standard
2823 // Standard conversion sequence S1 is a better conversion sequence
2824 // than standard conversion sequence S2 if (C++ 13.3.3.2p3):
2978 // as clang will do in standard mode.
2989 /// CompareQualificationConversions - Compares two standard conversion
3006 // FIXME: the example in the standard doesn't use a qualification
3080 // Check that the winning standard conversion sequence isn't using
3100 /// CompareDerivedToBaseConversions - Compares two standard conversion
3467 // second standard conversion sequence either an identity
3477 ICS.UserDefined.Before = Best->Conversions[0].Standard;
3563 ICS.Standard.First = ICK_Identity;
3564 ICS.Standard.Second = DerivedToBase? ICK_Derived_To_Base
3567 ICS.Standard.Third = ICK_Identity;
3568 ICS.Standard.FromTypePtr = T2.getAsOpaquePtr();
3569 ICS.Standard.setToType(0, T2);
3570 ICS.Standard.setToType(1, T1);
3571 ICS.Standard.setToType(2, T1);
3572 ICS.Standard.ReferenceBinding = true;
3573 ICS.Standard.DirectBinding = true;
3574 ICS.Standard.IsLvalueReference = !isRValRef;
3575 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
3576 ICS.Standard.BindsToRvalue = false;
3577 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier = false;
3578 ICS.Standard.ObjCLifetimeConversionBinding = ObjCLifetimeConversion;
3579 ICS.Standard.CopyConstructor = 0;
3630 ICS.Standard.First = ICK_Identity;
3631 ICS.Standard.Second = DerivedToBase? ICK_Derived_To_Base
3634 ICS.Standard.Third = ICK_Identity;
3635 ICS.Standard.FromTypePtr = T2.getAsOpaquePtr();
3636 ICS.Standard.setToType(0, T2);
3637 ICS.Standard.setToType(1, T1);
3638 ICS.Standard.setToType(2, T1);
3639 ICS.Standard.ReferenceBinding = true;
3644 // standard library implementors; therefore, we need the xvalue check here.
3645 ICS.Standard.DirectBinding =
3648 ICS.Standard.IsLvalueReference = !isRValRef;
3649 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
3650 ICS.Standard.BindsToRvalue = InitCategory.isRValue();
3651 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier = false;
3652 ICS.Standard.ObjCLifetimeConversionBinding = ObjCLifetimeConversion;
3653 ICS.Standard.CopyConstructor = 0;
3673 // and the second standard conversion sequence of the
3741 ICS.Standard.ReferenceBinding = true;
3742 ICS.Standard.IsLvalueReference = !isRValRef;
3743 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
3744 ICS.Standard.BindsToRvalue = true;
3745 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier = false;
3746 ICS.Standard.ObjCLifetimeConversionBinding = false;
3844 Result.Standard.setAsIdentityConversion();
3995 ICS.Standard.setAsIdentityConversion();
3996 ICS.Standard.Second = SecondKind;
3997 ICS.Standard.setFromType(FromType);
3998 ICS.Standard.setAllToTypes(ImplicitParamType);
3999 ICS.Standard.ReferenceBinding = true;
4000 ICS.Standard.DirectBinding = true;
4001 ICS.Standard.IsLvalueReference = Method->getRefQualifier() != RQ_RValue;
4002 ICS.Standard.BindsToFunctionLvalue = false;
4003 ICS.Standard.BindsToRvalue = FromClassification.isRValue();
4004 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier
4058 if (ICS.Standard.Second == ICK_Derived_To_Base) {
4100 /// dropPointerConversions - If the given standard conversion sequence
4138 dropPointerConversion(ICS.Standard);
4852 Candidate.FinalConversion = ICS.Standard;
4856 // conversion function template, the second standard conversion sequence
4859 GetConversionRank(ICS.Standard.Second) != ICR_Exact_Match) {
4866 // the second standard conversion sequence of the user-defined
4870 ICS.Standard.First == ICK_Lvalue_To_Rvalue) {
4883 "Can only end up with a standard conversion sequence or failure");
4973 // first conversion is ObjectInit's standard conversion (which is
4976 Candidate.Conversions[0].UserDefined.Before = ObjectInit.Standard;
5514 /// operator overloads from the standard to a candidate set.
6827 // (see 8.5, 13.3.1.5) and the standard conversion sequence
6830 // conversion sequence than the standard conversion sequence
9050 // a hack. The standard requires that we do overload resolution between the