Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | //===- lld/Common/Version.h - LLD Version Number ----------------*- C++ -*-===// |
2 | // |
||
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
||
4 | // See https://llvm.org/LICENSE.txt for license information. |
||
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
||
6 | // |
||
7 | //===----------------------------------------------------------------------===// |
||
8 | // |
||
9 | // Defines a version-related utility function. |
||
10 | // |
||
11 | //===----------------------------------------------------------------------===// |
||
12 | |||
13 | #ifndef LLD_VERSION_H |
||
14 | #define LLD_VERSION_H |
||
15 | |||
16 | #include "lld/Common/Version.inc" |
||
17 | #include "llvm/ADT/StringRef.h" |
||
18 | |||
19 | namespace lld { |
||
20 | /// Retrieves a string representing the complete lld version. |
||
21 | std::string getLLDVersion(); |
||
22 | } |
||
23 | |||
24 | #endif // LLD_VERSION_H |