[Serialization] Intro distinct compiler revision string for serialization

This commit is contained in:
Alexis Laferrière
2023-02-13 12:51:48 -08:00
parent 3d8e60d83e
commit 4579e37e61
4 changed files with 16 additions and 3 deletions

View File

@@ -167,9 +167,14 @@ StringRef getSwiftRevision();
/// and \c getCurrentCompilerTag returns the version tuple in string format.
bool isCurrentCompilerTagged();
/// Retrieves the distribtion tag of the running compiler, if any.
/// Retrieves the distribution tag of the running compiler, if any.
StringRef getCurrentCompilerTag();
/// Retrieves the distribution tag of the running compiler for serialization,
/// if any. This can hold more information than \c getCurrentCompilerTag
/// depending on the vendor.
StringRef getCurrentCompilerSerializationTag();
} // end namespace version
} // end namespace swift