Skip to content

Commit d1c3268

Browse files
committed
Remove unused API digester options
1 parent 6e0a096 commit d1c3268

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tools/driver/swift_api_digester_main.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ namespace options {
5959

6060
static llvm::cl::OptionCategory Category("swift-api-digester Options");
6161

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-
6762
static llvm::cl::list<std::string>
6863
ModuleNames("module", llvm::cl::ZeroOrMore, llvm::cl::desc("Names of modules"),
6964
llvm::cl::cat(Category));
@@ -195,12 +190,6 @@ SDKJsonPaths("input-paths",
195190
llvm::cl::desc("The SDK contents under comparison"),
196191
llvm::cl::cat(Category));
197192

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-
204193
static llvm::cl::opt<std::string>
205194
IgnoreRemovedDeclUSRs("ignored-usrs",
206195
llvm::cl::desc("the file containing USRs of removed decls "
@@ -2711,7 +2700,6 @@ class SwiftAPIDigesterInvocation {
27112700
ActionType Action;
27122701
CheckerOptions CheckerOpts;
27132702
llvm::StringSet<> Modules;
2714-
std::vector<std::string> PrintApis;
27152703
llvm::StringSet<> IgnoredUsrs;
27162704
std::string ProtReqAllowList;
27172705
std::vector<std::string> SDKJsonPaths;
@@ -2753,8 +2741,6 @@ class SwiftAPIDigesterInvocation {
27532741

27542742
readIgnoredUsrs(IgnoredUsrs, options::IgnoreRemovedDeclUSRs);
27552743
CheckerOpts = getCheckOpts(Args);
2756-
for (auto Name : options::ApisPrintUsrs)
2757-
PrintApis.push_back(Name);
27582744

27592745
ProtReqAllowList = options::ProtReqAllowList;
27602746
SDKJsonPaths = options::SDKJsonPaths;

0 commit comments

Comments
 (0)