Lines Matching refs:OldM
1654 Module *OldM = Old->getOwningModule();
1658 if (OldM && OldM->isPrivateModule())
1659 OldM = OldM->Parent;
1661 if (NewM == OldM)
1666 if (NewM && OldM &&
1667 (NewM->isModulePartition() || OldM->isModulePartition()) &&
1669 OldM->getPrimaryModuleInterfaceName())
1673 bool OldIsModuleInterface = OldM && OldM->isModulePurview();
1683 << (OldIsModuleInterface ? OldM->getFullModuleName() : "");
1770 Module *OldM = Old->getOwningModule();
1798 if (OldM && OldM->isHeaderLikeModule())
1799 OldM = nullptr;
1801 if (!NewM && !OldM)
1807 if ((NewM && NewM->isModulePurview()) || (OldM && OldM->isModulePurview()))
1813 if (OldM)
1814 OldM = OldM->getTopLevelModule();
1815 return OldM == NewM;