Lines Matching defs:PY
7221 auto *PY = Y->getPrefix();
7222 if (PX && PY)
7223 return isSameQualifier(PX, PY);
7224 return !PX && !PY;
13691 const auto *PX = cast<PointerType>(X), *PY = cast<PointerType>(Y);
13692 return Ctx.getPointerType(getCommonPointeeType(Ctx, PX, PY));
13695 const auto *PX = cast<BlockPointerType>(X), *PY = cast<BlockPointerType>(Y);
13696 return Ctx.getBlockPointerType(getCommonPointeeType(Ctx, PX, PY));
13700 *PY = cast<ObjCObjectPointerType>(Y);
13701 return Ctx.getObjCObjectPointerType(getCommonPointeeType(Ctx, PX, PY));
13705 *PY = cast<MemberPointerType>(Y);
13707 getCommonPointeeType(Ctx, PX, PY),
13709 QualType(PY->getClass(), 0))
13714 *PY = cast<LValueReferenceType>(Y);
13716 return Ctx.getLValueReferenceType(getCommonPointeeType(Ctx, PX, PY),
13718 PY->isSpelledAsLValue());
13722 *PY = cast<RValueReferenceType>(Y);
13724 return Ctx.getRValueReferenceType(getCommonPointeeType(Ctx, PX, PY));
13728 *PY = cast<DependentAddressSpaceType>(Y);
13729 assert(Ctx.hasSameExpr(PX->getAddrSpaceExpr(), PY->getAddrSpaceExpr()));
13730 return Ctx.getDependentAddressSpaceType(getCommonPointeeType(Ctx, PX, PY),
13732 getCommonAttrLoc(PX, PY));
13895 *PY = cast<PackExpansionType>(Y);
13896 assert(PX->getNumExpansions() == PY->getNumExpansions());
13898 Ctx.getCommonSugaredType(PX->getPattern(), PY->getPattern()),
13902 const auto *PX = cast<PipeType>(X), *PY = cast<PipeType>(Y);
13903 assert(PX->isReadOnly() == PY->isReadOnly());
13906 return (Ctx.*MP)(getCommonElementType(Ctx, PX, PY));