clang-1/test/Rewriter
Douglas Gregor a316e7b735 Extend builtin "attribute" syntax to include a notation for
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).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64512 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-14 00:32:47 +00:00
..
block-test.c instead of forcing blocks on by default, make them default to off, but let 2008-12-04 23:20:07 +00:00
crash.m Fix <rdar://problem/6291588> assertion failure: SourceManager.h line 489. 2008-11-19 21:15:47 +00:00
finally.m Extend builtin "attribute" syntax to include a notation for 2009-02-14 00:32:47 +00:00
id-test-3.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
ivar-encoding-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
ivar-encoding-2.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
metadata-test-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
metadata-test-2.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
method-encoding-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
objc-encoding-bug-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
objc-ivar-receiver-1.m Multiple tests in a single test file must be linked with '&&'. 2008-06-12 12:40:02 +00:00
objc-string-concat-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
objc-super-test.m Fix <rdar://problem/6465284> clang ObjC rewriter: objc_super messed up again. 2008-12-23 20:11:22 +00:00
objc-synchronized-1.m Fix crasher in RewriteObjC::RewriteObjCSynchronizedStmt(). Can't depend on the source locations of the sync expression (since it may have been rewritten. 2008-08-19 13:04:19 +00:00
properties.m Fix <rdar://problem/6429113> clang ObjC rewriter: crash rewriting file with Blocks and properties 2008-12-09 12:56:34 +00:00
protocol-rewrite-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-api-bug.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-foreach-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-foreach-2.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-foreach-3.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-foreach-4.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-foreach-5.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-foreach-6.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-nest.m Fix a test RUN line to not generate '=-' in test directory 2008-07-21 18:42:27 +00:00
rewrite-protocol-type-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
rewrite-try-catch.m RewriteObjC::RewriteObjCTryStmt():Don't synthesize a catch begin if there are 0 catch clauses. 2008-07-16 15:31:30 +00:00
static-type-protocol-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
undecl-objc-h.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
undeclared-method-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
undef-field-reference-1.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00
va-method.m Rename RewriteTest->RewriteObjC. 2008-04-14 22:03:09 +00:00