Files
swift-mirror/include/swift/Basic/Version.h
Joe Pamer 7b771affd9 Add limited build configuration support for testing against compiler submit versions. (rdar://problem/16337966)
This is meant to be utilized for a narrow set of scenarios specific to dogfooding our pre-1.0 compiler, so please do not take any dependencies on this.  In fact, I'll be removing this in the next milestone.  (See rdar://problem/16380797.)

Also included - improve error recovery when parsing broken build configuration clauses.

Swift SVN r15694
2014-03-31 20:34:02 +00:00

38 lines
1.1 KiB
C++

//===- Version.h - Swift Version Number -------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief Defines version macros and version-related utility functions
/// for Swift.
///
//===----------------------------------------------------------------------===//
#ifndef SWIFT_BASIC_VERSION_H
#define SWIFT_BASIC_VERSION_H
#include <string>
namespace swift {
namespace version {
/// \brief 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
#endif