[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

@@ -916,7 +916,7 @@ static void dumpAPIIfNeeded(const CompilerInstance &Instance) {
PO.PrintOriginalSourceText = true;
PO.Indent = 2;
PO.PrintAccess = false;
PO.SkipUnderscoredStdlibProtocols = true;
PO.SkipUnderscoredSystemProtocols = true;
SF->print(TempOS, PO);
if (TempOS.str().trim().empty())
return false; // nothing to show.