diff options
Diffstat (limited to 'include/lld/Common/Version.h')
| -rw-r--r-- | include/lld/Common/Version.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/lld/Common/Version.h b/include/lld/Common/Version.h new file mode 100644 index 0000000000000..93de77df5804e --- /dev/null +++ b/include/lld/Common/Version.h @@ -0,0 +1,25 @@ +//===- lld/Common/Version.h - LLD Version Number ----------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Defines a version-related utility function. +// +//===----------------------------------------------------------------------===// + +#ifndef LLD_VERSION_H +#define LLD_VERSION_H + +#include "lld/Common/Version.inc" +#include "llvm/ADT/StringRef.h" + +namespace lld { +/// \brief Retrieves a string representing the complete lld version. +std::string getLLDVersion(); +} + +#endif // LLD_VERSION_H |
