Rename getClangFullVendorVersion() to getClangFullVersion().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94273 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Basic/Version.h b/include/clang/Basic/Version.h
index 7e856e9..4710b6b 100644
--- a/include/clang/Basic/Version.h
+++ b/include/clang/Basic/Version.h
@@ -65,7 +65,7 @@
/// \brief Retrieves a string representing the complete clang version,
/// which includes the clang version number, the repository version,
/// and the vendor tag.
- const char *getClangFullVendorVersion();
+ const char *getClangFullVersion();
}
#endif // LLVM_CLANG_BASIC_VERSION_H
diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp
index 0521ab4..fdb96e5 100644
--- a/lib/Basic/Version.cpp
+++ b/lib/Basic/Version.cpp
@@ -71,7 +71,7 @@
return buf;
}
-const char *getClangFullVendorVersion() {
+const char *getClangFullVersion() {
static std::string buf;
if (buf.empty()) {
llvm::raw_string_ostream OS(buf);
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 46e7f10..852a018 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -282,7 +282,7 @@
void Driver::PrintVersion(const Compilation &C, llvm::raw_ostream &OS) const {
// FIXME: The following handlers should use a callback mechanism, we don't
// know what the client would like to do.
- OS << getClangFullVendorVersion() << '\n';
+ OS << getClangFullVersion() << '\n';
const ToolChain &TC = C.getDefaultToolChain();
OS << "Target: " << TC.getTripleString() << '\n';
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index a988962..84f908d 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/tools/CIndex/CIndex.cpp
@@ -1865,7 +1865,7 @@
extern "C" {
const char *clang_getClangVersion() {
- return getClangFullVendorVersion();
+ return getClangFullVersion();
}
} // end: extern "C"