Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaOverload.cpp8985 CanQualType CToTy = S.Context.getCanonicalType(ToTy); in DiagnoseBadConversion() local
8986 if (CanQual<ReferenceType> RT = CToTy->getAs<ReferenceType>()) in DiagnoseBadConversion()
8987 CToTy = RT->getPointeeType(); in DiagnoseBadConversion()
8991 if (CanQual<PointerType> ToPT = CToTy->getAs<PointerType>()) in DiagnoseBadConversion()
8992 CFromTy = FromPT->getPointeeType(), CToTy = ToPT->getPointeeType(); in DiagnoseBadConversion()
8995 if (CToTy.getUnqualifiedType() == CFromTy.getUnqualifiedType() && in DiagnoseBadConversion()
8996 !CToTy.isAtLeastAsQualifiedAs(CFromTy)) { in DiagnoseBadConversion()
8998 Qualifiers ToQs = CToTy.getQualifiers(); in DiagnoseBadConversion()
9129 isa<PointerType>(CToTy)) { in DiagnoseBadConversion()
9131 Qualifiers ToQs = CToTy.getQualifiers(); in DiagnoseBadConversion()