@@ -59,11 +59,6 @@ namespace options {
59
59
60
60
static llvm::cl::OptionCategory Category (" swift-api-digester Options" );
61
61
62
- static llvm::cl::opt<bool >
63
- IncludeAllModules (" include-all" ,
64
- llvm::cl::desc (" Include all modules from the SDK" ),
65
- llvm::cl::cat(Category));
66
-
67
62
static llvm::cl::list<std::string>
68
63
ModuleNames (" module" , llvm::cl::ZeroOrMore, llvm::cl::desc(" Names of modules" ),
69
64
llvm::cl::cat (Category));
@@ -195,12 +190,6 @@ SDKJsonPaths("input-paths",
195
190
llvm::cl::desc (" The SDK contents under comparison" ),
196
191
llvm::cl::cat(Category));
197
192
198
- static llvm::cl::list<std::string>
199
- ApisPrintUsrs (" api-usrs" ,
200
- llvm::cl::desc (" The name of APIs to print their usrs, "
201
- " e.g. Type::Function" ),
202
- llvm::cl::cat(Category));
203
-
204
193
static llvm::cl::opt<std::string>
205
194
IgnoreRemovedDeclUSRs (" ignored-usrs" ,
206
195
llvm::cl::desc (" the file containing USRs of removed decls "
@@ -2711,7 +2700,6 @@ class SwiftAPIDigesterInvocation {
2711
2700
ActionType Action;
2712
2701
CheckerOptions CheckerOpts;
2713
2702
llvm::StringSet<> Modules;
2714
- std::vector<std::string> PrintApis;
2715
2703
llvm::StringSet<> IgnoredUsrs;
2716
2704
std::string ProtReqAllowList;
2717
2705
std::vector<std::string> SDKJsonPaths;
@@ -2753,8 +2741,6 @@ class SwiftAPIDigesterInvocation {
2753
2741
2754
2742
readIgnoredUsrs (IgnoredUsrs, options::IgnoreRemovedDeclUSRs);
2755
2743
CheckerOpts = getCheckOpts (Args);
2756
- for (auto Name : options::ApisPrintUsrs)
2757
- PrintApis.push_back (Name);
2758
2744
2759
2745
ProtReqAllowList = options::ProtReqAllowList;
2760
2746
SDKJsonPaths = options::SDKJsonPaths;
0 commit comments