reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOverload.cpp
 1639   SCS.setFromType(FromType);
 1645       (FromType->isRecordType() || ToType->isRecordType()))
 1652   if (FromType == S.Context.OverloadTy) {
 1659       FromType = Fn->getType();
 1660       SCS.setFromType(FromType);
 1665                       S.ExtractUnqualifiedFunctionType(ToType), FromType)) {
 1668         if (!S.IsFunctionConversion(FromType,
 1688         FromType = S.Context.getMemberPointerType(FromType, ClassType);
 1688         FromType = S.Context.getMemberPointerType(FromType, ClassType);
 1693         FromType = S.Context.getPointerType(FromType);
 1693         FromType = S.Context.getPointerType(FromType);
 1700         FromType,
 1711       !FromType->isFunctionType() && !FromType->isArrayType() &&
 1711       !FromType->isFunctionType() && !FromType->isArrayType() &&
 1712       S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) {
 1718     if (const AtomicType *Atomic = FromType->getAs<AtomicType>())
 1719       FromType = Atomic->getValueType();
 1725     FromType = FromType.getUnqualifiedType();
 1725     FromType = FromType.getUnqualifiedType();
 1726   } else if (FromType->isArrayType()) {
 1733     FromType = S.Context.getArrayDecayedType(FromType);
 1733     FromType = S.Context.getArrayDecayedType(FromType);
 1746       SCS.setAllToTypes(FromType);
 1749   } else if (FromType->isFunctionType() && argIsLValue) {
 1761     FromType = S.Context.getPointerType(FromType);
 1761     FromType = S.Context.getPointerType(FromType);
 1766   SCS.setToType(0, FromType);
 1776   if (S.Context.hasSameUnqualifiedType(FromType, ToType)) {
 1780   } else if (S.IsIntegralPromotion(From, FromType, ToType)) {
 1783     FromType = ToType.getUnqualifiedType();
 1784   } else if (S.IsFloatingPointPromotion(FromType, ToType)) {
 1787     FromType = ToType.getUnqualifiedType();
 1788   } else if (S.IsComplexPromotion(FromType, ToType)) {
 1791     FromType = ToType.getUnqualifiedType();
 1793              (FromType->isArithmeticType() ||
 1794               FromType->isAnyPointerType() ||
 1795               FromType->isBlockPointerType() ||
 1796               FromType->isMemberPointerType() ||
 1797               FromType->isNullPtrType())) {
 1800     FromType = S.Context.BoolTy;
 1801   } else if (FromType->isIntegralOrUnscopedEnumerationType() &&
 1805     FromType = ToType.getUnqualifiedType();
 1806   } else if (FromType->isAnyComplexType() && ToType->isAnyComplexType()) {
 1809     FromType = ToType.getUnqualifiedType();
 1810   } else if ((FromType->isAnyComplexType() && ToType->isArithmeticType()) ||
 1811              (ToType->isAnyComplexType() && FromType->isArithmeticType())) {
 1814     FromType = ToType.getUnqualifiedType();
 1815   } else if (FromType->isRealFloatingType() && ToType->isRealFloatingType()) {
 1819     if (&S.Context.getFloatTypeSemantics(FromType) !=
 1821       bool Float128AndLongDouble = ((FromType == S.Context.Float128Ty &&
 1823                                    (FromType == S.Context.LongDoubleTy &&
 1832     FromType = ToType.getUnqualifiedType();
 1833   } else if ((FromType->isRealFloatingType() &&
 1835              (FromType->isIntegralOrUnscopedEnumerationType() &&
 1839     FromType = ToType.getUnqualifiedType();
 1840   } else if (S.IsBlockPointerConversion(FromType, ToType, FromType)) {
 1840   } else if (S.IsBlockPointerConversion(FromType, ToType, FromType)) {
 1843              S.isObjCWritebackConversion(FromType, ToType, FromType)) {
 1843              S.isObjCWritebackConversion(FromType, ToType, FromType)) {
 1845   } else if (S.IsPointerConversion(From, FromType, ToType, InOverloadResolution,
 1846                                    FromType, IncompatibleObjC)) {
 1850     FromType = FromType.getUnqualifiedType();
 1850     FromType = FromType.getUnqualifiedType();
 1851   } else if (S.IsMemberPointerConversion(From, FromType, ToType,
 1852                                          InOverloadResolution, FromType)) {
 1855   } else if (IsVectorConversion(S, FromType, ToType, SecondICK)) {
 1857     FromType = ToType.getUnqualifiedType();
 1859              S.Context.typesAreCompatible(ToType, FromType)) {
 1862     FromType = ToType.getUnqualifiedType();
 1867     FromType = ToType;
 1877     FromType = ToType;
 1882     FromType = ToType;
 1886     FromType = ToType;
 1891   SCS.setToType(1, FromType);
 1896   if (S.IsFunctionConversion(FromType, ToType, FromType)) {
 1896   if (S.IsFunctionConversion(FromType, ToType, FromType)) {
 1900   } else if (S.IsQualificationConversion(FromType, ToType, CStyle,
 1904     FromType = ToType;
 1914   QualType CanonFrom = S.Context.getCanonicalType(FromType);
 1919     FromType = ToType;
 1923   SCS.setToType(2, FromType);