Searched refs:OldDecl (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 702 bool SubstQualifier(const DeclaratorDecl *OldDecl, 704 bool SubstQualifier(const TagDecl *OldDecl,
|
H A D | Sema.h | 3575 bool shouldLinkDependentDeclWithPrevious(Decl *D, Decl *OldDecl); 9833 const LookupResult &OldDecls, NamedDecl *&OldDecl,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 6949 static void checkDLLAttributeRedeclaration(Sema &S, NamedDecl *OldDecl, in checkDLLAttributeRedeclaration() argument 6953 if (OldDecl->isInvalidDecl() || NewDecl->isInvalidDecl()) in checkDLLAttributeRedeclaration() 6957 if (TemplateDecl *OldTD = dyn_cast<TemplateDecl>(OldDecl)) { in checkDLLAttributeRedeclaration() 6958 OldDecl = OldTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 6968 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 6971 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 6972 const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 6987 if (AddsAttr && !IsSpecialization && !OldDecl->isImplicit()) { in checkDLLAttributeRedeclaration() 6990 if (!OldDecl->isCXXClassMember()) { in checkDLLAttributeRedeclaration() 6991 auto *VD = dyn_cast<VarDecl>(OldDecl); in checkDLLAttributeRedeclaration() [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 54 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument 56 if (!OldDecl->getQualifierLoc()) in SubstQualifier() 60 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier() 66 : OldDecl->getLexicalDeclContext())); in SubstQualifier() 69 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier() 79 bool TemplateDeclInstantiator::SubstQualifier(const DeclaratorDecl *OldDecl, in SubstQualifier() argument 81 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 84 bool TemplateDeclInstantiator::SubstQualifier(const TagDecl *OldDecl, in SubstQualifier() argument 86 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 5096 const CXXRecordDecl *OldDecl; in InstantiateFunctionDefinition() member [all …]
|
H A D | SemaDeclCXX.cpp | 12464 NamedDecl *OldDecl = nullptr; in CheckUsingShadowDecl() local 12465 switch (CheckOverload(nullptr, FD, Previous, OldDecl, in CheckUsingShadowDecl() 12488 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl() 13426 TypeAliasTemplateDecl *OldDecl = nullptr; in ActOnAliasDeclaration() local 13447 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration() 13448 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration() 13459 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration() 13461 OldDecl->getTemplateParameters(), in ActOnAliasDeclaration() 13465 OldDecl in ActOnAliasDeclaration() [all...] |
H A D | SemaOverload.cpp | 1298 NamedDecl *OldDecl = Old; in IsOverloadOrOverrideImpl() local 1344 OldDecl = OldTemplate; in IsOverloadOrOverrideImpl() 1512 !SemaRef.AreConstraintExpressionsEqual(OldDecl, OldRC, NewDecl, NewRC)) in IsOverloadOrOverrideImpl()
|