Lines Matching refs:PY
6458 auto *PY = Y->getPrefix(); in isSameQualifier() local
6459 if (PX && PY) in isSameQualifier()
6460 return isSameQualifier(PX, PY); in isSameQualifier()
6461 return !PX && !PY; in isSameQualifier()
12759 const auto *PX = cast<PointerType>(X), *PY = cast<PointerType>(Y); in getCommonNonSugarTypeNode()
12760 return Ctx.getPointerType(getCommonPointeeType(Ctx, PX, PY)); in getCommonNonSugarTypeNode()
12763 const auto *PX = cast<BlockPointerType>(X), *PY = cast<BlockPointerType>(Y); in getCommonNonSugarTypeNode()
12764 return Ctx.getBlockPointerType(getCommonPointeeType(Ctx, PX, PY)); in getCommonNonSugarTypeNode()
12768 *PY = cast<ObjCObjectPointerType>(Y); in getCommonNonSugarTypeNode()
12769 return Ctx.getObjCObjectPointerType(getCommonPointeeType(Ctx, PX, PY)); in getCommonNonSugarTypeNode()
12773 *PY = cast<MemberPointerType>(Y); in getCommonNonSugarTypeNode()
12775 getCommonPointeeType(Ctx, PX, PY), in getCommonNonSugarTypeNode()
12777 QualType(PY->getClass(), 0)) in getCommonNonSugarTypeNode()
12782 *PY = cast<LValueReferenceType>(Y); in getCommonNonSugarTypeNode()
12784 return Ctx.getLValueReferenceType(getCommonPointeeType(Ctx, PX, PY), in getCommonNonSugarTypeNode()
12786 PY->isSpelledAsLValue()); in getCommonNonSugarTypeNode()
12790 *PY = cast<RValueReferenceType>(Y); in getCommonNonSugarTypeNode()
12792 return Ctx.getRValueReferenceType(getCommonPointeeType(Ctx, PX, PY)); in getCommonNonSugarTypeNode()
12796 *PY = cast<DependentAddressSpaceType>(Y); in getCommonNonSugarTypeNode()
12797 assert(Ctx.hasSameExpr(PX->getAddrSpaceExpr(), PY->getAddrSpaceExpr())); in getCommonNonSugarTypeNode()
12798 return Ctx.getDependentAddressSpaceType(getCommonPointeeType(Ctx, PX, PY), in getCommonNonSugarTypeNode()
12800 getCommonAttrLoc(PX, PY)); in getCommonNonSugarTypeNode()
12954 *PY = cast<PackExpansionType>(Y); in getCommonNonSugarTypeNode()
12955 assert(PX->getNumExpansions() == PY->getNumExpansions()); in getCommonNonSugarTypeNode()
12957 Ctx.getCommonSugaredType(PX->getPattern(), PY->getPattern()), in getCommonNonSugarTypeNode()
12961 const auto *PX = cast<PipeType>(X), *PY = cast<PipeType>(Y); in getCommonNonSugarTypeNode()
12962 assert(PX->isReadOnly() == PY->isReadOnly()); in getCommonNonSugarTypeNode()
12965 return (Ctx.*MP)(getCommonElementType(Ctx, PX, PY)); in getCommonNonSugarTypeNode()