[AST] Rename isPrivateStdlibDecl -> isPrivateSystemDecl

This better reflects what we're actually checking
here.
This commit is contained in:
Hamish Knight
2024-08-28 18:31:51 +01:00
parent 05954eaa90
commit 1cb0f8fdd5
17 changed files with 56 additions and 53 deletions

View File

@@ -1772,7 +1772,7 @@ SDKContext::shouldIgnore(Decl *D, const Decl* Parent) const {
if (D->getAttrs().hasAttribute<AlwaysEmitIntoClientAttr>())
return true;
} else {
if (D->isPrivateStdlibDecl(false))
if (D->isPrivateSystemDecl(false))
return true;
}
if (AvailableAttr::isUnavailable(D))