Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaOverload.cpp1536 CanQualType CanFrom = Context.getCanonicalType(FromType); in IsFunctionConversion() local
1538 if (TyClass != CanFrom->getTypeClass()) return false; in IsFunctionConversion()
1542 CanFrom = CanFrom.castAs<PointerType>()->getPointeeType(); in IsFunctionConversion()
1545 CanFrom = CanFrom.castAs<BlockPointerType>()->getPointeeType(); in IsFunctionConversion()
1548 auto FromMPT = CanFrom.castAs<MemberPointerType>(); in IsFunctionConversion()
1553 CanFrom = FromMPT->getPointeeType(); in IsFunctionConversion()
1559 if (TyClass != CanFrom->getTypeClass()) return false; in IsFunctionConversion()
1564 const auto *FromFn = cast<FunctionType>(CanFrom); in IsFunctionConversion()