Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp722 MacroDirective *OldMD = nullptr; in LeaveSubmodule() local
732 OldMD = nullptr; in LeaveSubmodule()
734 OldMD = OldMacroIt->second.getLatest(); in LeaveSubmodule()
740 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
DPPMacroExpansion.cpp50 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local
51 MD->setPrevious(OldMD); in appendMacroDirective()
/external/llvm-project/clang/lib/Lex/
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()
DPPMacroExpansion.cpp75 auto *OldMD = StoredMD.getLatest(); in appendMacroDirective() local
76 MD->setPrevious(OldMD); in appendMacroDirective()
110 if (auto *OldMD = StoredMD.getLatest()) { in setLoadedMacroDirective() local
116 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp215 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local
216 if (!OldMD) { in assignValue()
217 OldMD.reset(MD); in assignValue()
222 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()
/external/llvm-project/llvm/lib/Bitcode/Reader/
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()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp719 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local
722 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()
724 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
DSemaDecl.cpp7072 if (CXXMethodDecl *OldMD = dyn_cast<CXXMethodDecl>(I)) { in AddOverriddenMethods() local
7073 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() local
8738 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
[all …]
DSemaTemplate.cpp6889 CXXMethodDecl *OldMD = in CheckFunctionTemplateSpecialization() local
6891 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1025 auto *OldMD = dyn_cast<CXXMethodDecl>(Old); in transformedLocalDecl() local
1028 OldMD->getDescribedFunctionTemplate()); in transformedLocalDecl()
1030 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
DSemaTemplate.cpp8997 CXXMethodDecl *OldMD = in CheckFunctionTemplateSpecialization() local
8999 if (OldMD && OldMD->isConst()) { in CheckFunctionTemplateSpecialization()
DSemaDecl.cpp10739 CXXMethodDecl *OldMD = nullptr; in CheckFunctionDeclaration() local
10741 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
10742 if (!OldMD || !OldMD->isStatic()) { in CheckFunctionDeclaration()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1100 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local
1101 if (!OldMD) { in assignValue()
1102 OldMD.reset(MD); in assignValue()
1107 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in assignValue()