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 | 2250 NamedDecl *&OldDecl,
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 5594 static void checkDLLAttributeRedeclaration(Sema &S, NamedDecl *OldDecl, in checkDLLAttributeRedeclaration() argument 5598 if (TemplateDecl *OldTD = dyn_cast<TemplateDecl>(OldDecl)) { in checkDLLAttributeRedeclaration() 5599 OldDecl = OldTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 5606 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 5609 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 5610 const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 5625 if (AddsAttr && !IsSpecialization && !OldDecl->isImplicit()) { in checkDLLAttributeRedeclaration() 5628 if (!OldDecl->isCXXClassMember()) { in checkDLLAttributeRedeclaration() 5629 auto *VD = dyn_cast<VarDecl>(OldDecl); in checkDLLAttributeRedeclaration() 5632 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 | 7981 NamedDecl *OldDecl = nullptr; in CheckUsingShadowDecl() local 7982 switch (CheckOverload(nullptr, FD, Previous, OldDecl, in CheckUsingShadowDecl() 8005 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl() 8803 TypeAliasTemplateDecl *OldDecl = nullptr; in ActOnAliasDeclaration() local 8823 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration() 8824 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration() 8835 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration() 8837 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration() 8840 OldTemplateParams = OldDecl->getTemplateParameters(); in ActOnAliasDeclaration() 8844 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration() [all …]
|