From: Chris Lattner Date: Tue, 24 Mar 2009 16:09:18 +0000 (+0000) Subject: change the __VERSION__ string to be more sensible. It would be useful to include... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fec8ffb5fc1d461bec8e5f38fc1df69dfcec430;p=clang change the __VERSION__ string to be more sensible. It would be useful to include the clang version # too. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67619 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 811ea69760..a43bb6427e 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -471,8 +471,7 @@ static void InitializePredefinedMacros(Preprocessor &PP, DefineBuiltinMacro(Buf, "__GNUC_PATCHLEVEL__=1"); DefineBuiltinMacro(Buf, "__GNUC__=4"); DefineBuiltinMacro(Buf, "__GXX_ABI_VERSION=1002"); - DefineBuiltinMacro(Buf, "__VERSION__=\"4.2.1 (Apple Computer, Inc. " - "build 5621) (dot 3)\""); + DefineBuiltinMacro(Buf, "__VERSION__=\"4.2.1 Compatible Clang Compiler\""); // Initialize language-specific preprocessor defines.