diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-24 16:09:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-24 16:09:18 +0000 |
commit | 3fec8ffb5fc1d461bec8e5f38fc1df69dfcec430 (patch) | |
tree | d0e54d08dfc22119b5440344e663e0ddb914d85b /lib/Lex/Preprocessor.cpp | |
parent | 546654a62eedb123b1b6d727ede29fd6cfb55087 (diff) |
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
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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. |