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 { 21 /// \brief Retrieves a string representing the complete lld version. 22 std::string getLLDVersion(); 23 } 24 25 #endif // LLD_VERSION_H 26