summaryrefslogtreecommitdiffstats
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Basic/Version.h b/include/clang/Basic/Version.h
index ede68ed..15cdf1f 100644
--- a/include/clang/Basic/Version.h
+++ b/include/clang/Basic/Version.h
@@ -58,6 +58,11 @@ namespace clang {
/// which includes the clang version number, the repository version,
/// and the vendor tag.
std::string getClangFullVersion();
+
+ /// \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.
+ std::string getClangFullCPPVersion();
}
#endif // LLVM_CLANG_BASIC_VERSION_H
OpenPOWER on IntegriCloud