summaryrefslogtreecommitdiff
path: root/include/clang/Basic/Version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/Version.h')
-rw-r--r--include/clang/Basic/Version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/Version.h b/include/clang/Basic/Version.h
index 7db8a2ebf682..02da432a40db 100644
--- a/include/clang/Basic/Version.h
+++ b/include/clang/Basic/Version.h
@@ -70,6 +70,9 @@ namespace clang {
/// and the vendor tag.
std::string getClangFullVersion();
+ /// \brief Like getClangFullVersion(), but with a custom tool name.
+ std::string getClangToolFullVersion(llvm::StringRef ToolName);
+
/// \brief 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.