ABIChecker: diagnose removal of deprecated symbols by default

rdar://95385661
This commit is contained in:
Xi Ge
2022-06-17 10:37:23 -07:00
parent 4606c9f3ae
commit 2fba124779
4 changed files with 12 additions and 3 deletions

View File

@@ -2554,6 +2554,7 @@ void swift::ide::api::dumpModuleContent(ModuleDecl *MD, StringRef OutputFile,
opts.AvoidToolArgs = true;
opts.Migrator = false;
opts.SkipOSCheck = false;
opts.SkipRemoveDeprecatedCheck = false;
opts.Verbose = false;
SDKContext ctx(opts);
SwiftDeclCollector collector(ctx);