mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Print package-name in .private.swiftinterface only for better abstraction
Resolves rdar://107638447
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#define SWIFT_COMPILER_VERSION_KEY "swift-compiler-version"
|
||||
#define SWIFT_MODULE_FLAGS_KEY "swift-module-flags"
|
||||
#define SWIFT_MODULE_FLAGS_IGNORABLE_KEY "swift-module-flags-ignorable"
|
||||
#define SWIFT_MODULE_FLAGS_IGNORABLE_PRIVATE_KEY "swift-module-flags-ignorable-private"
|
||||
|
||||
namespace swift {
|
||||
|
||||
@@ -50,6 +51,10 @@ struct ModuleInterfaceOptions {
|
||||
/// ignored by the earlier version of the compiler.
|
||||
std::string IgnorableFlags;
|
||||
|
||||
/// Ignorable flags that should only be printed in .private.swiftinterface file;
|
||||
/// e.g. -package-name PACKAGE_ID
|
||||
std::string IgnorablePrivateFlags;
|
||||
|
||||
/// Print for a private swiftinterface file, SPI decls and attributes.
|
||||
bool PrintPrivateInterfaceContent = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user