FLANG
Version.h
Go to the documentation of this file.
1//===-- include/flang/Support/Version.h -------------------------*- 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//===----------------------------------------------------------------------===//
13//===----------------------------------------------------------------------===//
14
15#ifndef FORTRAN_SUPPORT_VERSION_H_
16#define FORTRAN_SUPPORT_VERSION_H_
17
18#include "flang/Version.inc"
19#include "llvm/ADT/StringRef.h"
20
21namespace Fortran::common {
25std::string getFlangRepositoryPath();
26
30std::string getLLVMRepositoryPath();
31
34std::string getFlangRevision();
35
41std::string getLLVMRevision();
42
46
50std::string getFlangFullVersion();
51
53std::string getFlangToolFullVersion(llvm::StringRef ToolName);
54} // namespace Fortran::common
55
56#endif // FORTRAN_SUPPORT_VERSION_H_
Definition bit-population-count.h:20
std::string getFlangToolFullVersion(llvm::StringRef ToolName)
Like getFlangFullVersion(), but with a custom tool name.
Definition Version.cpp:88
std::string getFlangRevision()
Definition Version.cpp:42
std::string getLLVMRevision()
Definition Version.cpp:50
std::string getLLVMRepositoryPath()
Definition Version.cpp:34
std::string getFlangFullRepositoryVersion()
Definition Version.cpp:58
std::string getFlangFullVersion()
Definition Version.cpp:86
std::string getFlangRepositoryPath()
Definition Version.cpp:22