[Basic][Serialization] Intro and use isCurrentCompilerTagged

This commit is contained in:
Alexis Laferrière
2022-05-17 13:17:33 -07:00
parent 3523adbb53
commit c341010fbd
3 changed files with 15 additions and 2 deletions

View File

@@ -184,6 +184,11 @@ std::string getSwiftFullVersion(Version effectiveLanguageVersion =
/// this Swift was built.
StringRef getSwiftRevision();
/// Is the running compiler built with a version tag for distribution?
/// When true, \c Version::getCurrentCompilerVersion returns a valid version
/// and \c getSwiftRevision returns the version tuple in string format.
bool isCurrentCompilerTagged();
} // end namespace version
} // end namespace swift