Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | //===- lld/Common/Version.h - LLD Version Number ----------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // Defines a version-related utility function. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLD_VERSION_H |
| 15 | #define LLD_VERSION_H |
| 16 | |
| 17 | #include "lld/Common/Version.inc" |
| 18 | #include "llvm/ADT/StringRef.h" |
| 19 | |
| 20 | namespace lld { |
Andrew Scull | cdfcccc | 2018-10-05 20:58:37 +0100 | [diff] [blame^] | 21 | /// Retrieves a string representing the complete lld version. |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 22 | std::string getLLDVersion(); |
| 23 | } |
| 24 | |
| 25 | #endif // LLD_VERSION_H |