build-script/libSwiftBasic: properly propagate the Swift version down to

Version.cpp

rdar://19166288 rdar://19445760

Swift SVN r24592
This commit is contained in:
Dmitri Hrybenko
2015-01-21 05:01:42 +00:00
parent 53cf98c001
commit 41cd10e3f1
3 changed files with 48 additions and 45 deletions

View File

@@ -24,15 +24,12 @@
namespace swift {
namespace version {
/// \brief Retrieves the numeric {major, minor} Swift version.
/// Retrieves the numeric {major, minor} Swift version.
std::pair<unsigned, unsigned> getSwiftNumericVersion();
/// \brief Retrieves a string representing the complete Swift version, which
/// includes the Swift version number, the repository version, and the vendor
/// tag.
/// Retrieves a string representing the complete Swift version, which includes
/// the Swift version number, the repository version, and the vendor tag.
std::string getSwiftFullVersion();
std::string getSwiftSubmitVersionQuad();
} // end namespace version
} // end namespace swift