Home
last modified time | relevance | path

Searched refs:OldDecl (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Sema/
DTemplate.h413 bool SubstQualifier(const DeclaratorDecl *OldDecl,
415 bool SubstQualifier(const TagDecl *OldDecl,
DSema.h1283 NamedDecl *&OldDecl,
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp28 bool TemplateDeclInstantiator::SubstQualifier(const DeclaratorDecl *OldDecl, in SubstQualifier() argument
30 if (!OldDecl->getQualifierLoc()) in SubstQualifier()
34 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier()
44 bool TemplateDeclInstantiator::SubstQualifier(const TagDecl *OldDecl, in SubstQualifier() argument
46 if (!OldDecl->getQualifierLoc()) in SubstQualifier()
50 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier()
DSemaDeclCXX.cpp5147 NamedDecl *OldDecl = 0; in CheckUsingShadowDecl() local
5148 switch (CheckOverload(0, FD, Previous, OldDecl, /*IsForUsingDecl*/ true)) { in CheckUsingShadowDecl()
5170 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
5717 TypeAliasTemplateDecl *OldDecl = 0; in ActOnAliasDeclaration() local
5733 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration()
5734 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration()
5745 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration()
5747 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration()
5750 OldTemplateParams = OldDecl->getTemplateParameters(); in ActOnAliasDeclaration()
5754 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
[all …]
DSemaDecl.cpp4965 NamedDecl *OldDecl = 0; in CheckFunctionDeclaration() local
4968 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration()
4970 switch (CheckOverload(S, NewFD, Previous, OldDecl, in CheckFunctionDeclaration()
4992 OverloadedDecl = OldDecl; in CheckFunctionDeclaration()
5006 if (MergeFunctionDecl(NewFD, OldDecl)) in CheckFunctionDeclaration()
5010 Previous.addDecl(OldDecl); in CheckFunctionDeclaration()
5013 = dyn_cast<FunctionTemplateDecl>(OldDecl)) { in CheckFunctionDeclaration()
5033 NewFD->setAccess(OldDecl->getAccess()); in CheckFunctionDeclaration()
5034 NewFD->setPreviousDeclaration(cast<FunctionDecl>(OldDecl)); in CheckFunctionDeclaration()