Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPLexerChange.cpp764 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local
774 OldMD = nullptr; in LeaveSubmodule()
776 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()
782 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp212 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local
213 if (!OldMD) { in assignValue()
214 OldMD.reset(MD); in assignValue()
219 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1026 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local
1029 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()
1031 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
H A DSemaTemplate.cpp8986 CXXMethodDecl *OldMD = in CheckFunctionTemplateSpecialization() local
8988 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
H A DSemaDecl.cpp10831 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local
10833 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
10834 if (!OldMD || !OldMD->isStatic()) { in CheckFunctionDeclaration()