mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: Canonicalize OS version numbers in loaded swiftinterfaces.
This commit is contained in:
@@ -580,7 +580,8 @@ public:
|
||||
bool extractCompilerFlagsFromInterface(
|
||||
StringRef interfacePath, StringRef buffer, llvm::StringSaver &ArgSaver,
|
||||
SmallVectorImpl<const char *> &SubArgs,
|
||||
std::optional<llvm::Triple> PreferredTarget = std::nullopt);
|
||||
std::optional<llvm::Triple> PreferredTarget = std::nullopt,
|
||||
DiagnosticEngine *diagEngine = nullptr);
|
||||
|
||||
/// Extract the user module version number from an interface file.
|
||||
llvm::VersionTuple extractUserModuleVersionFromInterface(StringRef moduleInterfacePath);
|
||||
|
||||
Reference in New Issue
Block a user