aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-01-23 02:11:34 +0000
committerTed Kremenek <kremenek@apple.com>2010-01-23 02:11:34 +0000
commit4c0df3dc1dd323945384e855345d4bbdcde4d402 (patch)
treea8752b00dd1a31e72fa5143f3ef7d0572f8ff993
parent8204911e1d69ecf19a9455048a5007c24c9a7151 (diff)
downloadllvm-4c0df3dc1dd323945384e855345d4bbdcde4d402.zip
llvm-4c0df3dc1dd323945384e855345d4bbdcde4d402.tar.gz
llvm-4c0df3dc1dd323945384e855345d4bbdcde4d402.tar.bz2
Rename getClangFullVendorVersion() to getClangFullVersion().
llvm-svn: 94273
-rw-r--r--clang/include/clang/Basic/Version.h2
-rw-r--r--clang/lib/Basic/Version.cpp2
-rw-r--r--clang/lib/Driver/Driver.cpp2
-rw-r--r--clang/tools/CIndex/CIndex.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/clang/include/clang/Basic/Version.h b/clang/include/clang/Basic/Version.h
index 7e856e9..4710b6b 100644
--- a/clang/include/clang/Basic/Version.h
+++ b/clang/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.
- const char *getClangFullVendorVersion();
+ const char *getClangFullVersion();
}
#endif // LLVM_CLANG_BASIC_VERSION_H
diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp
index 0521ab4..fdb96e5 100644
--- a/clang/lib/Basic/Version.cpp
+++ b/clang/lib/Basic/Version.cpp
@@ -71,7 +71,7 @@ llvm::StringRef getClangFullRepositoryVersion() {
return buf;
}
-const char *getClangFullVendorVersion() {
+const char *getClangFullVersion() {
static std::string buf;
if (buf.empty()) {
llvm::raw_string_ostream OS(buf);
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 46e7f10..852a018 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -282,7 +282,7 @@ void Driver::PrintHelp(bool ShowHidden) const {
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/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp
index a988962..84f908d 100644
--- a/clang/tools/CIndex/CIndex.cpp
+++ b/clang/tools/CIndex/CIndex.cpp
@@ -1865,7 +1865,7 @@ void clang_disposeString(CXString string) {
extern "C" {
const char *clang_getClangVersion() {
- return getClangFullVendorVersion();
+ return getClangFullVersion();
}
} // end: extern "C"