Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp1751 CanQualType CanFrom = Context.getCanonicalType(FromType); in IsFunctionConversion() local
1753 if (TyClass != CanFrom->getTypeClass()) return false; in IsFunctionConversion()
1757 CanFrom = CanFrom.castAs<PointerType>()->getPointeeType(); in IsFunctionConversion()
1760 CanFrom = CanFrom.castAs<BlockPointerType>()->getPointeeType(); in IsFunctionConversion()
1763 auto FromMPT = CanFrom.castAs<MemberPointerType>(); in IsFunctionConversion()
1768 CanFrom = FromMPT->getPointeeType(); in IsFunctionConversion()
1774 if (TyClass != CanFrom->getTypeClass()) return false; in IsFunctionConversion()
1779 const auto *FromFn = cast<FunctionType>(CanFrom); in IsFunctionConversion()