Merge pull request #85470 from ian-twilightcoder/swift-api-digester-remove-iframework

[ABIChecker] Remove -iframework from swift-api-digester
This commit is contained in:
Ian Anderson
2025-11-14 01:40:36 -08:00
committed by GitHub
2 changed files with 0 additions and 6 deletions

View File

@@ -2099,10 +2099,6 @@ def BI : JoinedOrSeparate<["-"], "BI">,
def BI_EQ : Joined<["-"], "BI=">, Flags<[NoDriverOption, SwiftAPIDigesterOption]>,
Alias<BI>;
def iframework : JoinedOrSeparate<["-"], "iframework">,
Flags<[NoDriverOption, SwiftAPIDigesterOption, ArgumentIsPath]>,
HelpText<"add a directory to the clang importer system framework search path">;
def baseline_path : JoinedOrSeparate<["-"], "baseline-path">,
Flags<[NoDriverOption, SwiftAPIDigesterOption, ArgumentIsPath]>,
HelpText<"The path to the Json file that we should use as the baseline">;

View File

@@ -38,7 +38,6 @@
#include "swift/Option/Options.h"
#include "swift/Parse/ParseVersion.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/VirtualOutputBackends.h"
#include "llvm/Support/raw_ostream.h"
#include <functional>
@@ -2365,7 +2364,6 @@ public:
Triple = ParsedArgs.getLastArgValue(OPT_target).str();
SwiftVersion = ParsedArgs.getLastArgValue(OPT_swift_version).str();
SystemFrameworkPaths = ParsedArgs.getAllArgValues(OPT_Fsystem);
llvm::append_range(SystemFrameworkPaths, ParsedArgs.getAllArgValues(OPT_iframework));
BaselineFrameworkPaths = ParsedArgs.getAllArgValues(OPT_BF);
FrameworkPaths = ParsedArgs.getAllArgValues(OPT_F);
SystemModuleImportPaths = ParsedArgs.getAllArgValues(OPT_Isystem);