[cfe-commits] r157520 - /cfe/trunk/lib/Basic/Version.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat May 26 12:39:52 PDT 2012
Author: d0k
Date: Sat May 26 14:39:52 2012
New Revision: 157520
URL: http://llvm.org/viewvc/llvm-project?rev=157520&view=rev
Log:
Only emit one set of braces for __VERSION__, getClangFullRepositoryVersion already adds some.
No test as the output is highly dependend on the local configuration.
Modified:
cfe/trunk/lib/Basic/Version.cpp
Modified: cfe/trunk/lib/Basic/Version.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Version.cpp?rev=157520&r1=157519&r2=157520&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Version.cpp (original)
+++ cfe/trunk/lib/Basic/Version.cpp Sat May 26 14:39:52 2012
@@ -136,8 +136,7 @@
#ifdef CLANG_VENDOR
OS << CLANG_VENDOR;
#endif
- OS << "Clang " CLANG_VERSION_STRING " ("
- << getClangFullRepositoryVersion() << ')';
+ OS << "Clang " CLANG_VERSION_STRING " " << getClangFullRepositoryVersion();
return OS.str();
}
More information about the cfe-commits
mailing list