Home
last modified time | relevance | path

Searched refs:CToTy (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaOverload.cpp8727 CanQualType CToTy = S.Context.getCanonicalType(ToTy); in DiagnoseBadConversion() local
8728 if (CanQual<ReferenceType> RT = CToTy->getAs<ReferenceType>()) in DiagnoseBadConversion()
8729 CToTy = RT->getPointeeType(); in DiagnoseBadConversion()
8733 if (CanQual<PointerType> ToPT = CToTy->getAs<PointerType>()) in DiagnoseBadConversion()
8734 CFromTy = FromPT->getPointeeType(), CToTy = ToPT->getPointeeType(); in DiagnoseBadConversion()
8737 if (CToTy.getUnqualifiedType() == CFromTy.getUnqualifiedType() && in DiagnoseBadConversion()
8738 !CToTy.isAtLeastAsQualifiedAs(CFromTy)) { in DiagnoseBadConversion()
8740 Qualifiers ToQs = CToTy.getQualifiers(); in DiagnoseBadConversion()
8871 isa<PointerType>(CToTy)) { in DiagnoseBadConversion()
8873 Qualifiers ToQs = CToTy.getQualifiers(); in DiagnoseBadConversion()