Home
last modified time | relevance | path

Searched refs:OldMD (Results 1 – 7 of 7) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp209 TrackingMDRef &OldMD = MetadataPtrs[Idx]; in assignValue() local
210 if (!OldMD) { in assignValue()
211 OldMD.reset(MD); in assignValue()
216 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/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()