mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add frontend flag -warn-if-astscope-lookup w/ test
This commit is contained in:
@@ -261,9 +261,13 @@ namespace swift {
|
||||
/// Someday, ASTScopeLookup will supplant lookup in the parser
|
||||
bool DisableParserLookup = false;
|
||||
|
||||
/// Sound we compare to ASTScope-based resolution for debugging?
|
||||
/// Should we compare to ASTScope-based resolution for debugging?
|
||||
bool CompareToASTScopeLookup = false;
|
||||
|
||||
/// Since some tests fail if the warning is output, use a flag to decide
|
||||
/// whether it is. The warning is useful for testing.
|
||||
bool WarnIfASTScopeLookup = false;
|
||||
|
||||
/// Whether to use the import as member inference system
|
||||
///
|
||||
/// When importing a global, try to infer whether we can import it as a
|
||||
|
||||
Reference in New Issue
Block a user