Searched refs:OldMD (Results 1 – 7 of 7) sorted by relevance
811 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local821 OldMD = nullptr; in LeaveSubmodule()823 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()829 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
74 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local75 MD->setPrevious(OldMD); in appendMacroDirective()109 if (auto *OldMD = StoredMD.getLatest()) { in setLoadedMacroDirective() local115 assert(OldMD->getMacroInfo()->isBuiltinMacro() && in setLoadedMacroDirective()117 assert(!OldMD->getPrevious() && "builtin should only have a single entry"); in setLoadedMacroDirective()118 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()
194 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local195 if (!OldMD) { in assignValue()196 OldMD.reset(MD); in assignValue()201 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
1554 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local1557 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()1559 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
9317 auto *OldMD = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization() local9318 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
12151 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local12153 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()12154 if (!OldMD || !OldMD->isStatic()) { in CheckFunctionDeclaration()