Frontend: Only print the -project-name flag in private and package interfaces.

Resolves rdar://130992944.
This commit is contained in:
Allan Shortlidge
2024-07-02 17:16:48 -07:00
parent f6e30ea83c
commit a6faa5a4bf
4 changed files with 66 additions and 13 deletions

View File

@@ -55,6 +55,10 @@ struct ModuleInterfaceOptions {
/// Flags which appear in all .swiftinterface files.
InterfaceFlags PublicFlags = {};
/// Flags which appear in both the private and package .swiftinterface files,
/// but not the public interface.
InterfaceFlags PrivateFlags = {};
/// Flags which appear only in the .package.swiftinterface.
InterfaceFlags PackageFlags = {};