
Use the *current* state of "is-moduleness" rather than the state at serialization time so that if we read a builtin identifier from a module that wasn't "interesting" to that module, we will still write it out to a PCH that imports that module. Otherwise, we would get mysterious "unknown builtin" errors when using PCH+modules. rdar://problem/23287656 llvm-svn: 251565
6 lines
105 B
C
6 lines
105 B
C
int getBos1(void) {
|
|
return __builtin_object_size(p, 0);
|
|
}
|
|
|
|
#define IS_CONST(x) __builtin_constant_p(x)
|