Skip to content

Commit abd403f

Browse files
committed
Revert new flag that is no longer nessisary
1 parent 9fe245e commit abd403f

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

include/swift/Basic/LangOptions.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ namespace swift {
268268
/// Imports getters and setters as computed properties.
269269
bool CxxInteropGettersSettersAsProperties = false;
270270

271-
bool EnableUnsafeEagerCxxImporting = false;
272-
273271
/// On Darwin platforms, use the pre-stable ABI's mark bit for Swift
274272
/// classes instead of the stable ABI's bit. This is needed when
275273
/// targeting OSes prior to macOS 10.14.4 and iOS 12.2, where

include/swift/Option/FrontendOptions.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,6 @@ def enable_experimental_cxx_interop :
282282
Flag<["-"], "enable-experimental-cxx-interop">,
283283
HelpText<"Enable C++ interop code generation and config directives">;
284284

285-
def enable_unsafe_eager_importing :
286-
Flag<["-"], "enable-unsafe-eager-importing">,
287-
HelpText<"Enable unsafe eager importing of C++ APIs. This is the legacy mode "
288-
"of importing. The clang importer will try to import every API in a "
289-
"module/header.">;
290-
291285
def enable_lexical_borrow_scopes :
292286
Joined<["-"], "enable-lexical-borrow-scopes=">,
293287
HelpText<"Whether to emit lexical borrow scopes (default: true)">,

lib/Frontend/CompilerInvocation.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
807807
Target.isOSDarwin());
808808

809809
Opts.CxxInteropGettersSettersAsProperties = Args.hasArg(OPT_cxx_interop_getters_setters_as_properties);
810-
Opts.EnableUnsafeEagerCxxImporting = Args.hasArg(OPT_enable_unsafe_eager_importing);
811810

812811
Opts.VerifyAllSubstitutionMaps |= Args.hasArg(OPT_verify_all_substitution_maps);
813812

0 commit comments

Comments
 (0)