Lines Matching defs:PX
6906 auto *PX = X->getPrefix();
6908 if (PX && PY)
6909 return isSameQualifier(PX, PY);
6910 return !PX && !PY;
13263 const auto *PX = cast<PointerType>(X), *PY = cast<PointerType>(Y);
13264 return Ctx.getPointerType(getCommonPointeeType(Ctx, PX, PY));
13267 const auto *PX = cast<BlockPointerType>(X), *PY = cast<BlockPointerType>(Y);
13268 return Ctx.getBlockPointerType(getCommonPointeeType(Ctx, PX, PY));
13271 const auto *PX = cast<ObjCObjectPointerType>(X),
13273 return Ctx.getObjCObjectPointerType(getCommonPointeeType(Ctx, PX, PY));
13276 const auto *PX = cast<MemberPointerType>(X),
13279 getCommonPointeeType(Ctx, PX, PY),
13280 Ctx.getCommonSugaredType(QualType(PX->getClass(), 0),
13285 const auto *PX = cast<LValueReferenceType>(X),
13288 return Ctx.getLValueReferenceType(getCommonPointeeType(Ctx, PX, PY),
13289 PX->isSpelledAsLValue() ||
13293 const auto *PX = cast<RValueReferenceType>(X),
13296 return Ctx.getRValueReferenceType(getCommonPointeeType(Ctx, PX, PY));
13299 const auto *PX = cast<DependentAddressSpaceType>(X),
13301 assert(Ctx.hasSameExpr(PX->getAddrSpaceExpr(), PY->getAddrSpaceExpr()));
13302 return Ctx.getDependentAddressSpaceType(getCommonPointeeType(Ctx, PX, PY),
13303 PX->getAddrSpaceExpr(),
13304 getCommonAttrLoc(PX, PY));
13465 const auto *PX = cast<PackExpansionType>(X),
13467 assert(PX->getNumExpansions() == PY->getNumExpansions());
13469 Ctx.getCommonSugaredType(PX->getPattern(), PY->getPattern()),
13470 PX->getNumExpansions(), false);
13473 const auto *PX = cast<PipeType>(X), *PY = cast<PipeType>(Y);
13474 assert(PX->isReadOnly() == PY->isReadOnly());
13475 auto MP = PX->isReadOnly() ? &ASTContext::getReadPipeType
13477 return (Ctx.*MP)(getCommonElementType(Ctx, PX, PY));