diff options
| author | Sean Callanan <scallanan@apple.com> | 2013-02-13 21:53:01 +0000 | 
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2013-02-13 21:53:01 +0000 | 
| commit | d7739824a60bdcf6309fa3dde35e6a7bc039c1d9 (patch) | |
| tree | 97d059d5bc1535e7073c9a635aa27a1b177aa9f1 | |
| parent | 33455e10c98bf9828e088df07046ce3001df132d (diff) | |
| download | bcm5719-llvm-d7739824a60bdcf6309fa3dde35e6a7bc039c1d9.tar.gz bcm5719-llvm-d7739824a60bdcf6309fa3dde35e6a7bc039c1d9.zip  | |
Made NULL, nil, and Nil use the appropriate
builtins.
<rdar://problem/13204027>
llvm-svn: 175091
| -rw-r--r-- | lldb/source/Expression/ExpressionSourceCode.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/ExpressionSourceCode.cpp b/lldb/source/Expression/ExpressionSourceCode.cpp index 1441881dc30..835d9d7106f 100644 --- a/lldb/source/Expression/ExpressionSourceCode.cpp +++ b/lldb/source/Expression/ExpressionSourceCode.cpp @@ -19,9 +19,9 @@ static const char *global_defines =  "#undef nil                        \n"  "#undef YES                        \n"  "#undef NO                         \n" -"#define NULL ((int)0)             \n" -"#define Nil ((Class)0)            \n" -"#define nil ((id)0)               \n" +"#define NULL (__null)             \n" +"#define Nil (__null)              \n" +"#define nil (__null)              \n"  "#define YES ((BOOL)1)             \n"  "#define NO ((BOOL)0)              \n"  "typedef signed char BOOL;         \n"  | 

