mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Made NULL, nil, and Nil use the appropriate
builtins. <rdar://problem/13204027> llvm-svn: 175091
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user