Home
last modified time | relevance | path

Searched refs:declarationReplaces (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclContextInternals.h168 if (D->declarationReplaces(ND, /*IsKnownNewer=*/false)) in replaceExternalDecls()
225 if (D->declarationReplaces(OldD, IsKnownNewer)) { in addOrReplaceDecl()
244 if (D->declarationReplaces(N->D, IsKnownNewer)) { in addOrReplaceDecl()
249 if (D->declarationReplaces(ND, IsKnownNewer)) { in addOrReplaceDecl()
H A DDecl.h358 bool declarationReplaces(NamedDecl *OldD, bool IsKnownNewer = true) const;
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp1775 bool NamedDecl::declarationReplaces(NamedDecl *OldD, bool IsKnownNewer) const { in declarationReplaces() function in NamedDecl
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp1536 if (S->isDeclScope(*I) && D->declarationReplaces(*I)) { in PushOnScopeChains()