Frontend: Remove unused ModuleInterfaceOptionIgnorablePrivate.

This commit is contained in:
Allan Shortlidge
2024-07-02 14:02:57 -07:00
parent 1fde4c1267
commit a28b729594
5 changed files with 4 additions and 30 deletions

View File

@@ -108,12 +108,6 @@ static void printToolVersionAndFlagsComment(raw_ostream &out,
out << "// " SWIFT_MODULE_FLAGS_IGNORABLE_KEY ": "
<< Opts.IgnorableFlags << "\n";
}
auto hasPrivateIgnorableFlags = !Opts.printPublicInterface() && !Opts.IgnorablePrivateFlags.empty();
if (hasPrivateIgnorableFlags) {
out << "// " SWIFT_MODULE_FLAGS_IGNORABLE_PRIVATE_KEY ": "
<< Opts.IgnorablePrivateFlags << "\n";
}
}
std::string