Searched refs:OldMD (Results 1 – 13 of 13) sorted by relevance
722 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local732 OldMD = nullptr; in LeaveSubmodule()734 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()740 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
50 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local51 MD->setPrevious(OldMD); in appendMacroDirective()
764 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local774 OldMD = nullptr; in LeaveSubmodule()776 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()782 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
75 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local76 MD->setPrevious(OldMD); in appendMacroDirective()110 if (auto *OldMD = StoredMD.getLatest()) { in setLoadedMacroDirective() local116 assert(OldMD->getMacroInfo()->isBuiltinMacro() && in setLoadedMacroDirective()118 assert(!OldMD->getPrevious() && "builtin should only have a single entry"); in setLoadedMacroDirective()119 ED->setPrevious(OldMD); in setLoadedMacroDirective()
215 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local216 if (!OldMD) { in assignValue()217 OldMD.reset(MD); in assignValue()222 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
212 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local213 if (!OldMD) { in assignValue()214 OldMD.reset(MD); in assignValue()219 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
719 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local722 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()724 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
7072 if (CXXMethodDecl *OldMD = dyn_cast<CXXMethodDecl>(I)) { in AddOverriddenMethods() local7073 MD->addOverriddenMethod(OldMD->getCanonicalDecl()); in AddOverriddenMethods()7074 if (!CheckOverridingFunctionReturnType(MD, OldMD) && in AddOverriddenMethods()7075 !CheckOverridingFunctionAttributes(MD, OldMD) && in AddOverriddenMethods()7076 !CheckOverridingFunctionExceptionSpec(MD, OldMD) && in AddOverriddenMethods()7077 !CheckIfOverriddenFunctionIsMarkedFinal(MD, OldMD)) { in AddOverriddenMethods()7078 hasDeletedOverridenMethods |= OldMD->isDeleted(); in AddOverriddenMethods()7079 hasNonDeletedOverridenMethods |= !OldMD->isDeleted(); in AddOverriddenMethods()8736 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local8738 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()[all …]
6889 CXXMethodDecl *OldMD = in CheckFunctionTemplateSpecialization() local6891 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
1025 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local1028 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()1030 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
8997 CXXMethodDecl *OldMD = in CheckFunctionTemplateSpecialization() local8999 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
10739 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local10741 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()10742 if (!OldMD || !OldMD->isStatic()) { in CheckFunctionDeclaration()
1100 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local1101 if (!OldMD) { in assignValue()1102 OldMD.reset(MD); in assignValue()1107 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()