Skip to content

Commit 4bbdb95

Browse files
committed
Frontend: Remove no-op -stress-astscope-lookup flag
1 parent f718a4c commit 4bbdb95

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

include/swift/Basic/LangOptions.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,6 @@ namespace swift {
251251
/// Someday, ASTScopeLookup will supplant lookup in the parser
252252
bool DisableParserLookup = false;
253253

254-
/// Should we stress ASTScope-based resolution for debugging?
255-
bool StressASTScopeLookup = false;
256-
257254
/// Whether to enable the new operator decl and precedencegroup lookup
258255
/// behavior. This is a staging flag, and will be removed in the future.
259256
bool EnableNewOperatorLookup = false;

include/swift/Option/FrontendOptions.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ def disable_target_os_checking :
157157
def crosscheck_unqualified_lookup : Flag<["-"], "crosscheck-unqualified-lookup">,
158158
HelpText<"Compare legacy DeclContext- to ASTScope-based unqualified name lookup (for debugging)">;
159159

160-
def stress_astscope_lookup : Flag<["-"], "stress-astscope-lookup">,
161-
HelpText<"Stress ASTScope-based unqualified name lookup (for testing)">;
162-
163160
def use_clang_function_types : Flag<["-"], "use-clang-function-types">,
164161
HelpText<"Use stored Clang function types for computing canonical types.">;
165162

lib/Frontend/CompilerInvocation.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
426426
}
427427

428428
Opts.DisableParserLookup |= Args.hasArg(OPT_disable_parser_lookup);
429-
Opts.StressASTScopeLookup |= Args.hasArg(OPT_stress_astscope_lookup);
430429
Opts.EnableNewOperatorLookup = Args.hasFlag(OPT_enable_new_operator_lookup,
431430
OPT_disable_new_operator_lookup,
432431
/*default*/ false);

0 commit comments

Comments
 (0)