Searched refs:OldMD (Results 1 – 7 of 7) sorted by relevance
817 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local827 OldMD = nullptr; in LeaveSubmodule()829 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()835 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
76 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local77 MD->setPrevious(OldMD); in appendMacroDirective()111 if (auto *OldMD = StoredMD.getLatest()) { in setLoadedMacroDirective() local117 assert(OldMD->getMacroInfo()->isBuiltinMacro() && in setLoadedMacroDirective()119 assert(!OldMD->getPrevious() && "builtin should only have a single entry"); in setLoadedMacroDirective()120 ED->setPrevious(OldMD); in setLoadedMacroDirective()
161 auto OldMD = static_cast<Metadata **>(Old); in handleChangedValue() local162 ptrdiff_t Idx = std::distance(&*DebugValues.begin(), OldMD); in handleChangedValue()165 if (OldMD && isa<ValueAsMetadata>(*OldMD) && !New) { in handleChangedValue()166 auto *OldVAM = cast<ValueAsMetadata>(*OldMD); in handleChangedValue()
197 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local198 if (!OldMD) { in assignValue()199 OldMD.reset(MD); in assignValue()204 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
1465 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local1468 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()1470 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
8829 auto *OldMD = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization() local8830 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
11917 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local11919 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()11920 if (!OldMD || !OldMD->isStatic()) { in CheckFunctionDeclaration()