Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DTemplate.h480 bool SubstQualifier(const DeclaratorDecl *OldDecl,
482 bool SubstQualifier(const TagDecl *OldDecl,
DSema.h1646 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.cpp6004 NamedDecl *OldDecl = 0; in CheckUsingShadowDecl() local
6005 switch (CheckOverload(0, FD, Previous, OldDecl, /*IsForUsingDecl*/ true)) { in CheckUsingShadowDecl()
6027 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
6578 TypeAliasTemplateDecl *OldDecl = 0; in ActOnAliasDeclaration() local
6594 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration()
6595 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration()
6606 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration()
6608 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration()
6611 OldTemplateParams = OldDecl->getTemplateParameters(); in ActOnAliasDeclaration()
6615 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
[all …]
DSemaDecl.cpp5929 NamedDecl *OldDecl = 0; in CheckFunctionDeclaration() local
5932 OldDecl = Previous.getFoundDecl(); in CheckFunctionDeclaration()
5934 switch (CheckOverload(S, NewFD, Previous, OldDecl, in CheckFunctionDeclaration()
5956 OverloadedDecl = OldDecl; in CheckFunctionDeclaration()
5970 if (MergeFunctionDecl(NewFD, OldDecl, S)) { in CheckFunctionDeclaration()
5976 Previous.addDecl(OldDecl); in CheckFunctionDeclaration()
5979 = dyn_cast<FunctionTemplateDecl>(OldDecl)) { in CheckFunctionDeclaration()
6000 NewFD->setAccess(OldDecl->getAccess()); in CheckFunctionDeclaration()
6001 NewFD->setPreviousDeclaration(cast<FunctionDecl>(OldDecl)); in CheckFunctionDeclaration()