mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Teach getEffectiveAccess() to respect -enable-testing.
SIL seems to be doing the right thing here already, which is great! Part of rdar://problem/17732115. We'll be able to really see this working with the next change: allowing references to testable things when using "@testable import". Swift SVN r26473
This commit is contained in:
@@ -109,6 +109,7 @@ static void addCommonFrontendArgs(const ToolChain &TC,
|
||||
inputArgs.AddLastArg(arguments, options::OPT_autolink_force_load);
|
||||
inputArgs.AddLastArg(arguments, options::OPT_color_diagnostics);
|
||||
inputArgs.AddLastArg(arguments, options::OPT_enable_app_extension);
|
||||
inputArgs.AddLastArg(arguments, options::OPT_enable_testing);
|
||||
inputArgs.AddLastArg(arguments, options::OPT_g_Group);
|
||||
inputArgs.AddLastArg(arguments, options::OPT_import_objc_header);
|
||||
inputArgs.AddLastArg(arguments, options::OPT_import_underlying_module);
|
||||
|
||||
Reference in New Issue
Block a user