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

References

tools/clang/lib/Sema/SemaOverload.cpp
 1644   if (S.getLangOpts().CPlusPlus &&
 1652   if (FromType == S.Context.OverloadTy) {
 1655           = S.ResolveAddressOfOverloadedFunction(From, ToType, false,
 1664       if (!S.Context.hasSameUnqualifiedType(
 1665                       S.ExtractUnqualifiedFunctionType(ToType), FromType)) {
 1668         if (!S.IsFunctionConversion(FromType,
 1669               S.ExtractUnqualifiedFunctionType(ToType), resultTy))
 1687           = S.Context.getTypeDeclType(Method->getParent()).getTypePtr();
 1688         FromType = S.Context.getMemberPointerType(FromType, ClassType);
 1693         FromType = S.Context.getPointerType(FromType);
 1699       assert(S.Context.hasSameType(
 1701         S.FixOverloadedFunctionReference(From, AccessPair, Fn)->getType()));
 1712       S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) {
 1712       S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) {
 1733     FromType = S.Context.getArrayDecayedType(FromType);
 1735     if (S.IsStringLiteralToNonConstPointerConversion(From, ToType)) {
 1755         if (!S.checkAddressOfFunctionIsAvailable(FD))
 1761     FromType = S.Context.getPointerType(FromType);
 1776   if (S.Context.hasSameUnqualifiedType(FromType, ToType)) {
 1780   } else if (S.IsIntegralPromotion(From, FromType, ToType)) {
 1784   } else if (S.IsFloatingPointPromotion(FromType, ToType)) {
 1788   } else if (S.IsComplexPromotion(FromType, ToType)) {
 1800     FromType = S.Context.BoolTy;
 1802              ToType->isIntegralType(S.Context)) {
 1819     if (&S.Context.getFloatTypeSemantics(FromType) !=
 1820         &S.Context.getFloatTypeSemantics(ToType)) {
 1821       bool Float128AndLongDouble = ((FromType == S.Context.Float128Ty &&
 1822                                     ToType == S.Context.LongDoubleTy) ||
 1823                                    (FromType == S.Context.LongDoubleTy &&
 1824                                     ToType == S.Context.Float128Ty));
 1826           (&S.Context.getFloatTypeSemantics(S.Context.LongDoubleTy) ==
 1826           (&S.Context.getFloatTypeSemantics(S.Context.LongDoubleTy) ==
 1834               ToType->isIntegralType(S.Context)) ||
 1840   } else if (S.IsBlockPointerConversion(FromType, ToType, FromType)) {
 1843              S.isObjCWritebackConversion(FromType, ToType, FromType)) {
 1845   } else if (S.IsPointerConversion(From, FromType, ToType, InOverloadResolution,
 1851   } else if (S.IsMemberPointerConversion(From, FromType, ToType,
 1855   } else if (IsVectorConversion(S, FromType, ToType, SecondICK)) {
 1858   } else if (!S.getLangOpts().CPlusPlus &&
 1859              S.Context.typesAreCompatible(ToType, FromType)) {
 1863   } else if (IsTransparentUnionStandardConversion(S, From, ToType,
 1868   } else if (tryAtomicConversion(S, From, ToType, InOverloadResolution, SCS,
 1874              From->isIntegerConstantExpr(S.getASTContext()) &&
 1875              From->EvaluateKnownConstInt(S.getASTContext()) == 0) {
 1879              From->isIntegerConstantExpr(S.getASTContext()) &&
 1880              (From->EvaluateKnownConstInt(S.getASTContext()) == 0)) {
 1884              From->isIntegerConstantExpr(S.getASTContext())) {
 1896   if (S.IsFunctionConversion(FromType, ToType, FromType)) {
 1900   } else if (S.IsQualificationConversion(FromType, ToType, CStyle,
 1914   QualType CanonFrom = S.Context.getCanonicalType(FromType);
 1915   QualType CanonTo = S.Context.getCanonicalType(ToType);
 1930   if (S.getLangOpts().CPlusPlus || !InOverloadResolution)
 1935       S.CheckSingleAssignmentConstraints(ToType, ER,