Made NULL, nil, and Nil use the appropriate

builtins.

<rdar://problem/13204027>

llvm-svn: 175091
This commit is contained in:
Sean Callanan
2013-02-13 21:53:01 +00:00
parent 33455e10c9
commit d7739824a6

View File

@@ -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"