clang
19.0.0git
|
Defines version macros and version-related utility functions for Clang. More...
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/Version.inc"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
Go to the source code of this file.
Namespaces | |
clang | |
The JSON file list parser is used to communicate input to InstallAPI. | |
Functions | |
std::string | clang::getClangRepositoryPath () |
Retrieves the repository path (e.g., Subversion path) that identifies the particular Clang branch, tag, or trunk from which this Clang was built. More... | |
std::string | clang::getLLVMRepositoryPath () |
Retrieves the repository path from which LLVM was built. More... | |
std::string | clang::getClangRevision () |
Retrieves the repository revision number (or identifier) from which this Clang was built. More... | |
std::string | clang::getLLVMRevision () |
Retrieves the repository revision number (or identifier) from which LLVM was built. More... | |
std::string | clang::getClangVendor () |
Retrieves the Clang vendor tag. More... | |
std::string | clang::getClangFullRepositoryVersion () |
Retrieves the full repository version that is an amalgamation of the information in getClangRepositoryPath() and getClangRevision(). More... | |
std::string | clang::getClangFullVersion () |
Retrieves a string representing the complete clang version, which includes the clang version number, the repository version, and the vendor tag. More... | |
std::string | clang::getClangToolFullVersion (llvm::StringRef ToolName) |
Like getClangFullVersion(), but with a custom tool name. More... | |
std::string | clang::getClangFullCPPVersion () |
Retrieves a string representing the complete clang version suitable for use in the CPP VERSION macro, which includes the clang version number, the repository version, and the vendor tag. More... | |
llvm::SmallVector< std::pair< llvm::StringRef, llvm::StringRef >, 2 > | clang::getSYCLVersionMacros (const LangOptions &LangOpts) |
Retrieves a string representing the SYCL standard version for use in the CL_SYCL_LANGUAGE_VERSION and SYCL_LANGUAGE_VERSION macros. More... | |
Defines version macros and version-related utility functions for Clang.
Definition in file Version.h.