From 242cb065057558e2e189e9ea289f3a51059e862d Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 26 May 2012 19:39:52 +0000 Subject: [PATCH] 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 --- lib/Basic/Version.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); } -- 2.50.1