aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/Version.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-01-22 22:44:15 +0000
committerTed Kremenek <kremenek@apple.com>2010-01-22 22:44:15 +0000
commit04bb716aea8fd2372ac10b0c640cabc5e5caa615 (patch)
tree2d0d7c430a386f7d9183ed1e0d7e25e5fded352b /include/clang/Basic/Version.h
parentf9d3e9bb0052d2605d6b33d7de356d534457c9ac (diff)
Add 'clang_getClangVersion()' function to CIndex. This exposes the full Clang version string through the CIndex API.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Version.h')
-rw-r--r--include/clang/Basic/Version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/Version.h b/include/clang/Basic/Version.h
index b9441f6e85..7e856e9a99 100644
--- a/include/clang/Basic/Version.h
+++ b/include/clang/Basic/Version.h
@@ -65,7 +65,7 @@ namespace clang {
/// \brief Retrieves a string representing the complete clang version,
/// which includes the clang version number, the repository version,
/// and the vendor tag.
- llvm::StringRef getClangFullVendorVersion();
+ const char *getClangFullVendorVersion();
}
#endif // LLVM_CLANG_BASIC_VERSION_H