Home | History | Annotate | Download | only in Sema

Lines Matching refs:Standard

177 /// StandardConversionSequence - Set the standard conversion
195 /// getRank - Retrieve the rank of this standard conversion sequence
211 /// used as part of the ranking of standard conversion sequences
231 /// used as part of the ranking of standard conversion sequences (C++
276 /// Check if this standard conversion sequence represents a narrowing
280 /// \param Converted The result of applying this standard conversion sequence.
441 /// dump - Print this standard conversion sequence to standard
480 /// dump - Print this user-defined conversion sequence to standard
498 /// dump - Print this implicit conversion sequence to standard
506 OS << "Standard conversion: ";
507 Standard.dump();
1174 /// Produces an implicit conversion sequence for when a standard conversion
1219 // Turn this into a "standard" conversion sequence, so that it
1220 // gets ranked with standard conversion sequences.
1223 ICS.Standard.setAsIdentityConversion();
1224 ICS.Standard.setFromType(From->getType());
1225 ICS.Standard.setAllToTypes(ToType);
1226 ICS.Standard.CopyConstructor = Constructor;
1227 ICS.Standard.FoundCopyConstructor = Found;
1229 ICS.Standard.Second = ICK_Derived_To_Base;
1262 /// describe the initialization of f from i, which will be a standard
1290 ICS.Standard, CStyle, AllowObjCWritebackConversion)){
1312 ICS.Standard.setAsIdentityConversion();
1313 ICS.Standard.setFromType(FromType);
1314 ICS.Standard.setAllToTypes(ToType);
1320 ICS.Standard.CopyConstructor = nullptr;
1324 ICS.Standard.Second = ICK_Derived_To_Base;
1483 /// IsStandardConversion - Determines whether there is a standard
1485 /// expression From to the type ToType. Standard conversion sequences
1488 /// contain the standard conversion sequence required to perform this
1498 // Standard conversions (C++ [conv])
1504 // There are no standard conversions for class types in C++, so
1532 // otherwise, only a boolean conversion is standard
1733 // tryAtomicConversion has updated the standard conversion sequence
3087 // Record the standard conversion we used and the conversion function.
3259 // Record the standard conversion we used and the conversion function.
3264 // constructor (12.3.1), the initial standard conversion
3276 User.Before = Best->Conversions[0].Standard;
3293 // conversion function (12.3.2), the initial standard
3296 User.Before = Best->Conversions[0].Standard;
3303 // The second standard conversion sequence converts the
3385 return (ICS.isStandard() && ICS.Standard.DeprecatedStringLiteralToCharPtr) ||
3400 // -- a standard conversion sequence (13.3.3.1.1) is a better
3417 // standard. For example:
3472 // Standard conversion sequence S1 is a better conversion sequence than
3473 // standard conversion sequence S2 if [...]
3475 ICS1.Standard, ICS2.Standard);
3480 // constructor and if the second standard conversion sequence of
3481 // U1 is better than the second standard conversion sequence of
3507 // Per 13.3.3.2p3, compare the given standard conversion sequences to
3566 // time of this writing) break the standard definition of std::forward
3579 /// CompareStandardConversionSequences - Compare two standard
3587 // Standard conversion sequence S1 is a better conversion sequence
3588 // than standard conversion sequence S2 if (C++ 13.3.3.2p3):
3742 // as clang will do in standard mode.
3752 /// CompareQualificationConversions - Compares two standard conversion
3769 // FIXME: the example in the standard doesn't use a qualification
3843 // Check that the winning standard conversion sequence isn't using
3863 /// CompareDerivedToBaseConversions - Compares two standard conversion
4246 // second standard conversion sequence either an identity
4254 ICS.UserDefined.Before = Best->Conversions[0].Standard;
4340 ICS.Standard.First = ICK_Identity;
4341 ICS.Standard.Second = DerivedToBase? ICK_Derived_To_Base
4344 ICS.Standard.Third = ICK_Identity;
4345 ICS.Standard.FromTypePtr = T2.getAsOpaquePtr();
4346 ICS.Standard.setToType(0, T2);
4347 ICS.Standard.setToType(1, T1);
4348 ICS.Standard.setToType(2, T1);
4349 ICS.Standard.ReferenceBinding = true;
4350 ICS.Standard.DirectBinding = true;
4351 ICS.Standard.IsLvalueReference = !isRValRef;
4352 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
4353 ICS.Standard.BindsToRvalue = false;
4354 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier = false;
4355 ICS.Standard.ObjCLifetimeConversionBinding = ObjCLifetimeConversion;
4356 ICS.Standard.CopyConstructor = nullptr;
4357 ICS.Standard.DeprecatedStringLiteralToCharPtr = false;
4398 ICS.Standard.First = ICK_Identity;
4399 ICS.Standard.Second = DerivedToBase? ICK_Derived_To_Base
4402 ICS.Standard.Third = ICK_Identity;
4403 ICS.Standard.FromTypePtr = T2.getAsOpaquePtr();
4404 ICS.Standard.setToType(0, T2);
4405 ICS.Standard.setToType(1, T1);
4406 ICS.Standard.setToType(2, T1);
4407 ICS.Standard.ReferenceBinding = true;
4412 // standard library implementors; therefore, we need the xvalue check here.
4413 ICS.Standard.DirectBinding =
4416 ICS.Standard.IsLvalueReference = !isRValRef;
4417 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
4418 ICS.Standard.BindsToRvalue = InitCategory.isRValue();
4419 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier = false;
4420 ICS.Standard.ObjCLifetimeConversionBinding = ObjCLifetimeConversion;
4421 ICS.Standard.CopyConstructor = nullptr;
4422 ICS.Standard.DeprecatedStringLiteralToCharPtr = false;
4442 // and the second standard conversion sequence of the
4518 ICS.Standard.ReferenceBinding = true;
4519 ICS.Standard.IsLvalueReference = !isRValRef;
4520 ICS.Standard.BindsToFunctionLvalue = false;
4521 ICS.Standard.BindsToRvalue = true;
4522 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier = false;
4523 ICS.Standard.ObjCLifetimeConversionBinding = false;
4531 // standard conversion sequence cannot be formed if it requires [...]
4609 Result.Standard.setAsIdentityConversion();
4610 Result.Standard.setFromType(ToType);
4611 Result.Standard.setAllToTypes(ToType);
4662 Result.Standard.setAsIdentityConversion();
4663 Result.Standard.setFromType(ToType);
4664 Result.Standard.setAllToTypes(ToType);
4718 // The standard is notoriously unclear here, since 13.3.3.1.4 doesn't
4769 StandardConversionSequence &SCS = Result.isStandard() ? Result.Standard :
4800 Result.Standard.setAsIdentityConversion();
4801 Result.Standard.setFromType(ToType);
4802 Result.Standard.setAllToTypes(ToType);
4955 ICS.Standard.setAsIdentityConversion();
4956 ICS.Standard.Second = SecondKind;
4957 ICS.Standard.setFromType(FromType);
4958 ICS.Standard.setAllToTypes(ImplicitParamType);
4959 ICS.Standard.ReferenceBinding = true;
4960 ICS.Standard.DirectBinding = true;
4961 ICS.Standard.IsLvalueReference = Method->getRefQualifier() != RQ_RValue;
4962 ICS.Standard.BindsToFunctionLvalue = false;
4963 ICS.Standard.BindsToRvalue = FromClassification.isRValue();
4964 ICS.Standard.BindsImplicitObjectArgumentWithoutRefQualifier
5018 if (ICS.Standard.Second == ICK_Derived_To_Base) {
5153 SCS = &ICS.Standard;
5265 /// dropPointerConversions - If the given standard conversion sequence
5304 dropPointerConversion(ICS.Standard);
6504 Candidate.FinalConversion = ICS.Standard;
6508 // conversion function template, the second standard conversion sequence
6511 GetConversionRank(ICS.Standard.Second) != ICR_Exact_Match) {
6519 // the second standard conversion sequence of the user-defined
6523 ICS.Standard.First == ICK_Lvalue_To_Rvalue) {
6537 "Can only end up with a standard conversion sequence or failure");
6631 // first conversion is ObjectInit's standard conversion (which is
6634 Candidate.Conversions[0].UserDefined.Before = ObjectInit.Standard;
7185 /// operator overloads from the standard to a candidate set.
8597 // (see 8.5, 13.3.1.5) and the standard conversion sequence
8600 // conversion sequence than the standard conversion sequence
8606 // other. This only distinguishes the results in non-standard, extension
11737 // a hack. The standard requires that we do overload resolution between the