forked from OSchip/llvm-project
ac5d4c5f8e
printf-like functions, both builtin functions and those in the C library. The function-call checker now queries this attribute do determine if we have a printf-like function, rather than scanning through the list of "known functions IDs". However, there are 5 functions they are not yet "builtins", so the function-call checker handles them specifically still: - fprintf and vfprintf: the builtins mechanism cannot (yet) express FILE* arguments, so these can't be encoded. - NSLog: the builtins mechanism cannot (yet) express NSString* arguments, so this (and NSLogv) can't be encoded. - asprintf and vasprintf: these aren't part of the C99 standard library, so we really shouldn't be defining them as builtins in the general case (and we don't seem to have the machinery to make them builtins only on certain targets and depending on whether extensions are enabled). llvm-svn: 64512 |
||
---|---|---|
.. | ||
block-test.c | ||
crash.m | ||
finally.m | ||
id-test-3.m | ||
ivar-encoding-1.m | ||
ivar-encoding-2.m | ||
metadata-test-1.m | ||
metadata-test-2.m | ||
method-encoding-1.m | ||
objc-encoding-bug-1.m | ||
objc-ivar-receiver-1.m | ||
objc-string-concat-1.m | ||
objc-super-test.m | ||
objc-synchronized-1.m | ||
properties.m | ||
protocol-rewrite-1.m | ||
rewrite-api-bug.m | ||
rewrite-foreach-1.m | ||
rewrite-foreach-2.m | ||
rewrite-foreach-3.m | ||
rewrite-foreach-4.m | ||
rewrite-foreach-5.m | ||
rewrite-foreach-6.m | ||
rewrite-nest.m | ||
rewrite-protocol-type-1.m | ||
rewrite-try-catch.m | ||
static-type-protocol-1.m | ||
undecl-objc-h.m | ||
undeclared-method-1.m | ||
undef-field-reference-1.m | ||
va-method.m |