| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
and some clean up and a block rewriter test.
llvm-svn: 91435
|
|
|
|
| |
llvm-svn: 91299
|
|
|
|
|
|
|
|
| |
http://llvm.org/viewvc/llvm-project?view=rev&revision=71225
http://llvm.org/viewvc/llvm-project?view=rev&revision=73207
http://llvm.org/viewvc/llvm-project?view=rev&revision=73414
llvm-svn: 90677
|
|
|
|
| |
llvm-svn: 90067
|
|
|
|
|
|
| |
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
llvm-svn: 86430
|
|
|
|
| |
llvm-svn: 76709
|
|
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 61384
|
|
|
|
|
|
|
|
| |
Blocks and properties
More fancy footwork to cope with rewriting property 'setters'.
llvm-svn: 60760
|
|
|
|
|
|
| |
This is a follow-up to fixing <rdar://problem/6213955> clang ObjC rewriter: rewriter doesn't appear to support @property and @synthesize.
llvm-svn: 60700
|
|
|
|
|
|
| |
executed
llvm-svn: 60593
|
|
|
|
|
|
|
|
| |
specific targets default them to on. Default blocks to on on 10.6 and later.
Add a -fblocks option that allows the user to override the target's default.
Use -fblocks in the various testcases that use blocks.
llvm-svn: 60563
|
|
|
|
| |
llvm-svn: 59664
|
|
|
|
|
|
| |
This fixes <rdar://problem/6289007> clang block rewriter: ^ in cast is not rewritten.
llvm-svn: 57591
|
|
|
|
|
|
|
|
| |
Since we don't have DeclGroup's and location information for types, there is some fancy footwork to do this fairly reliably.
O.K...it's a kludge. One day, we can use this as motivation to do this more gracefully:-)
llvm-svn: 56499
|
|
|
|
|
|
|
|
| |
the source locations of the sync expression (since it may have been rewritten.
Fixes <rdar://problem/6156363> clang ObjC rewriter: rewriting attached file causes assertion failure: invalid FileID
llvm-svn: 54986
|
|
|
|
| |
llvm-svn: 53865
|
|
|
|
|
|
|
|
| |
are 0 catch clauses.
This fixes <rdar://problem/5987211> clang ObjC rewriter: @try / @finally block produces unbalanced output.
llvm-svn: 53679
|
|
|
|
|
|
| |
Patch by David Chisnall with objc rewriter and stmtdumper updates from me.
llvm-svn: 52580
|
|
|
|
|
|
| |
Otherwise, failing tests other than the last one will not be reported.
llvm-svn: 52231
|
|
|
|
| |
llvm-svn: 52082
|
|
|
|
| |
llvm-svn: 51519
|
|
|
|
| |
llvm-svn: 51514
|
|
|
|
| |
llvm-svn: 49692
|
|
|
|
| |
llvm-svn: 48926
|
|
|
|
|
|
| |
the output to standard out (rather than generate a .cpp file, which is the new default for the rewriter).
llvm-svn: 48847
|
|
|
|
| |
llvm-svn: 48669
|
|
|
|
|
|
|
|
| |
- For explicit ivar refers, make sure the cast is propagated to the AST.
- Don't free the base (since it is still in use).
This fixes the recent regression to test/Rewriter/objc-ivar-receiver-1.m.
llvm-svn: 48309
|
|
|
|
|
|
|
|
| |
output to clang.
This should "fix" all but one of the test failure.
llvm-svn: 48275
|
|
|
|
|
|
|
| |
- Support @catch(...), rather than crash:-)
- Make sure all catch bodies get rewritten. This "fix" is really a workaround until the iterator for the "try" AST is fixed. Will fix this in a separate commit.
llvm-svn: 46644
|
|
llvm-svn: 46640
|