Only emit one set of braces for __VERSION__, getClangFullRepositoryVersion already...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 26 May 2012 19:39:52 +0000 (19:39 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 26 May 2012 19:39:52 +0000 (19:39 +0000)
No test as the output is highly dependend on the local configuration.

llvm-svn: 157520

clang/lib/Basic/Version.cpp

index 2183be4..c2b1479 100644 (file)
@@ -136,8 +136,7 @@ std::string getClangFullCPPVersion() {
 #ifdef CLANG_VENDOR
   OS << CLANG_VENDOR;
 #endif
-  OS << "Clang " CLANG_VERSION_STRING " ("
-     << getClangFullRepositoryVersion() << ')';
+  OS << "Clang " CLANG_VERSION_STRING " " << getClangFullRepositoryVersion();
   return OS.str();
 }