Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOverload.cpp1534 CanQualType CanFrom = Context.getCanonicalType(FromType); in IsFunctionConversion() local
1536 if (TyClass != CanFrom->getTypeClass()) return false; in IsFunctionConversion()
1540 CanFrom = CanFrom.castAs<PointerType>()->getPointeeType(); in IsFunctionConversion()
1543 CanFrom = CanFrom.castAs<BlockPointerType>()->getPointeeType(); in IsFunctionConversion()
1546 auto FromMPT = CanFrom.castAs<MemberPointerType>(); in IsFunctionConversion()
1551 CanFrom = FromMPT->getPointeeType(); in IsFunctionConversion()
1557 if (TyClass != CanFrom->getTypeClass()) return false; in IsFunctionConversion()
1562 const auto *FromFn = cast<FunctionType>(CanFrom); in IsFunctionConversion()