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:
@@ -180,9 +180,6 @@ def enable_objc_implicit_properties :
|
||||
def enable_source_import : Flag<["-"], "enable-source-import">,
|
||||
HelpText<"Enable importing of Swift source files">;
|
||||
|
||||
def enable_testing : Flag<["-"], "enable-testing">,
|
||||
HelpText<"Allows this module's internal API to be accessed for testing">;
|
||||
|
||||
def diagnose_generic_extensions : Flag<["-"], "diagnose-generic-extensions">,
|
||||
HelpText<"Diagnose extensions of generic types without type parameters">;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user