[cfe-commits] r94273 - in /cfe/trunk: include/clang/Basic/Version.h lib/Basic/Version.cpp lib/Driver/Driver.cpp tools/CIndex/CIndex.cpp

Ted Kremenek kremenek at apple.com
Fri Jan 22 18:11:34 PST 2010


Author: kremenek
Date: Fri Jan 22 20:11:34 2010
New Revision: 94273

URL: http://llvm.org/viewvc/llvm-project?rev=94273&view=rev
Log:
Rename getClangFullVendorVersion() to getClangFullVersion().

Modified:
    cfe/trunk/include/clang/Basic/Version.h
    cfe/trunk/lib/Basic/Version.cpp
    cfe/trunk/lib/Driver/Driver.cpp
    cfe/trunk/tools/CIndex/CIndex.cpp

Modified: cfe/trunk/include/clang/Basic/Version.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Version.h?rev=94273&r1=94272&r2=94273&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Version.h (original)
+++ cfe/trunk/include/clang/Basic/Version.h Fri Jan 22 20:11:34 2010
@@ -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

Modified: cfe/trunk/lib/Basic/Version.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Version.cpp?rev=94273&r1=94272&r2=94273&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/Version.cpp (original)
+++ cfe/trunk/lib/Basic/Version.cpp Fri Jan 22 20:11:34 2010
@@ -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);

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=94273&r1=94272&r2=94273&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Fri Jan 22 20:11:34 2010
@@ -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';
 

Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=94273&r1=94272&r2=94273&view=diff

==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Fri Jan 22 20:11:34 2010
@@ -1865,7 +1865,7 @@
 extern "C" {
 
 const char *clang_getClangVersion() {
-  return getClangFullVendorVersion();
+  return getClangFullVersion();
 }
 
 } // end: extern "C"





More information about the cfe-commits mailing list