Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTemplate.h540 bool SubstQualifier(const DeclaratorDecl *OldDecl,
542 bool SubstQualifier(const TagDecl *OldDecl,
H A DSema.h1990 bool shouldLinkDependentDeclWithPrevious(Decl *D, Decl *OldDecl);
2552 NamedDecl *&OldDecl,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDecl.cpp6023 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration()
6057 if (OldDecl->isUsed()) in checkDLLAttributeRedeclaration()
9649 OldDecl = OldFD; in CheckTargetCausesMultiVersioning()
9689 OldDecl = nullptr; in CheckTargetCausesMultiVersioning()
9738 OldDecl = ND; in CheckMultiVersionAdditionalDecl()
9767 OldDecl = ND; in CheckMultiVersionAdditionalDecl()
9788 OldDecl = ND; in CheckMultiVersionAdditionalDecl()
9830 OldDecl = OldFD; in CheckMultiVersionAdditionalDecl()
9837 OldDecl = nullptr; in CheckMultiVersionAdditionalDecl()
9880 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction()
[all …]
H A DSemaTemplateInstantiateDecl.cpp42 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument
44 if (!OldDecl->getQualifierLoc()) in SubstQualifier()
48 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier()
54 : OldDecl->getLexicalDeclContext())); in SubstQualifier()
57 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier()
67 bool TemplateDeclInstantiator::SubstQualifier(const DeclaratorDecl *OldDecl, in SubstQualifier() argument
69 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
72 bool TemplateDeclInstantiator::SubstQualifier(const TagDecl *OldDecl, in SubstQualifier() argument
74 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
H A DSemaDeclCXX.cpp9660 NamedDecl *OldDecl = nullptr; in CheckUsingShadowDecl() local
9661 switch (CheckOverload(nullptr, FD, Previous, OldDecl, in CheckUsingShadowDecl()
9684 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl()
10546 TypeAliasTemplateDecl *OldDecl = nullptr; in ActOnAliasDeclaration() local
10566 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration()
10567 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration()
10578 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration()
10588 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
10619 else if (OldDecl) { in ActOnAliasDeclaration()
10620 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration()
[all …]