]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157520 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Version.cpp

index 2183be435673f26f15e0495635c22c8c118415b0..c2b1479fe1ddfaf279c919c02f9a3e3a43d35a06 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();
 }