Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp9572 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in canAssignObjCInterfaces()
9642 LHSOPT->stripObjCKindOfTypeAndQuals(*this), in canAssignObjCInterfacesInBlockPointer()
9646 if (RHSOPT->isObjCBuiltinType() || LHSOPT->isObjCIdType()) in canAssignObjCInterfacesInBlockPointer()
9649 if (LHSOPT->isObjCBuiltinType()) { in canAssignObjCInterfacesInBlockPointer()
9663 (BlockReturnType ? LHSOPT : RHSOPT), in canAssignObjCInterfacesInBlockPointer()
9664 (BlockReturnType ? RHSOPT : LHSOPT), false)); in canAssignObjCInterfacesInBlockPointer()
9701 const ObjCObjectType* LHS = LHSOPT->getObjectType(); in getIntersectionOfProtocols()
10000 const auto *LHSOPT = LHS->getAs<ObjCObjectPointerType>(); in areComparableObjCPointerTypes() local
10003 if (!LHSOPT || !RHSOPT) in areComparableObjCPointerTypes()
10006 return canAssignObjCInterfaces(LHSOPT, RHSOPT) || in areComparableObjCPointerTypes()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h2842 bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
2847 const ObjCObjectPointerType *LHSOPT,
2851 QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp8830 const ObjCObjectPointerType *LHSOPT = LHSTy->castAs<ObjCObjectPointerType>(); in FindCompositeObjCPointerType() local
8848 Context.areCommonBaseCompatible(LHSOPT, RHSOPT)).isNull()) { in FindCompositeObjCPointerType()
8850 } else if (Context.canAssignObjCInterfaces(LHSOPT, RHSOPT)) { in FindCompositeObjCPointerType()
8852 } else if (Context.canAssignObjCInterfaces(RHSOPT, LHSOPT)) { in FindCompositeObjCPointerType()
8853 compositeType = LHSOPT->isObjCBuiltinType() ? LHSTy : RHSTy; in FindCompositeObjCPointerType()
8854 } else if ((LHSOPT->isObjCQualifiedIdType() || in FindCompositeObjCPointerType()
8856 Context.ObjCQualifiedIdTypesAreCompatible(LHSOPT, RHSOPT, in FindCompositeObjCPointerType()