summaryrefslogtreecommitdiffstats
path: root/lld/include/lld/Common/Version.h
blob: 9571aa2743e5b254afac4468f091285d27f9d687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===- lld/Common/Version.h - LLD Version Number ----------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// 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 {
/// Retrieves a string representing the complete lld version.
std::string getLLDVersion();
}

#endif // LLD_VERSION_H
OpenPOWER on IntegriCloud