blob: 23a10ed6dbf3b4427cff871e05043c1ccd61d13e [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- 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
20namespace lld {
Andrew Scullcdfcccc2018-10-05 20:58:37 +010021/// Retrieves a string representing the complete lld version.
Andrew Scull5e1ddfa2018-08-14 10:06:54 +010022std::string getLLDVersion();
23}
24
25#endif // LLD_VERSION_H