Searched refs:OldDecl (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/Sema/ |
D | Template.h | 496 bool SubstQualifier(const DeclaratorDecl *OldDecl, 498 bool SubstQualifier(const TagDecl *OldDecl,
|
D | Sema.h | 2188 NamedDecl *&OldDecl,
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 5461 static void checkDLLAttributeRedeclaration(Sema &S, NamedDecl *OldDecl, in checkDLLAttributeRedeclaration() argument 5464 if (TemplateDecl *OldTD = dyn_cast<TemplateDecl>(OldDecl)) in checkDLLAttributeRedeclaration() 5465 OldDecl = OldTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 5469 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 5472 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 5473 const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 5488 if (AddsAttr && !IsSpecialization && !OldDecl->isImplicit()) { in checkDLLAttributeRedeclaration() 5491 if (!OldDecl->isCXXClassMember()) { in checkDLLAttributeRedeclaration() 5492 auto *VD = dyn_cast<VarDecl>(OldDecl); in checkDLLAttributeRedeclaration() 5495 auto *FD = dyn_cast<FunctionDecl>(OldDecl); in checkDLLAttributeRedeclaration() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 40 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument 42 if (!OldDecl->getQualifierLoc()) in SubstQualifier() 46 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier() 52 : OldDecl->getLexicalDeclContext())); in SubstQualifier() 55 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier() 65 bool TemplateDeclInstantiator::SubstQualifier(const DeclaratorDecl *OldDecl, in SubstQualifier() argument 67 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 70 bool TemplateDeclInstantiator::SubstQualifier(const TagDecl *OldDecl, in SubstQualifier() argument 72 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
|
D | SemaDeclCXX.cpp | 7807 NamedDecl *OldDecl = nullptr; in CheckUsingShadowDecl() local 7808 switch (CheckOverload(nullptr, FD, Previous, OldDecl, in CheckUsingShadowDecl() 7831 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl() 8562 TypeAliasTemplateDecl *OldDecl = nullptr; in ActOnAliasDeclaration() local 8578 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration() 8579 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration() 8590 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration() 8592 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration() 8595 OldTemplateParams = OldDecl->getTemplateParameters(); in ActOnAliasDeclaration() 8599 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration() [all …]
|