From: Benjamin Kramer Date: Sat, 26 May 2012 19:39:52 +0000 (+0000) Subject: Only emit one set of braces for __VERSION__, getClangFullRepositoryVersion already... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=242cb065057558e2e189e9ea289f3a51059e862d;p=clang Only emit one set of braces for __VERSION__, getClangFullRepositoryVersion already adds some. 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 --- diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp index 2183be4356..c2b1479fe1 100644 --- a/lib/Basic/Version.cpp +++ b/lib/Basic/Version.cpp @@ -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(); }