Home
last modified time | relevance | path

Searched refs:OldMD (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp817 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local
827 OldMD = nullptr; in LeaveSubmodule()
829 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()
835 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
H A DPPMacroExpansion.cpp76 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local
77 MD->setPrevious(OldMD); in appendMacroDirective()
111 if (auto *OldMD = StoredMD.getLatest()) { in setLoadedMacroDirective() local
117 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()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp161 auto OldMD = static_cast<Metadata **>(Old); in handleChangedValue() local
162 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()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp197 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local
198 if (!OldMD) { in assignValue()
199 OldMD.reset(MD); in assignValue()
204 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1465 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local
1468 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()
1470 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
H A DSemaTemplate.cpp8829 auto *OldMD = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization() local
8830 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
H A DSemaDecl.cpp11917 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local
11919 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
11920 if (!OldMD || !OldMD->isStatic()) { in CheckFunctionDeclaration()