| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 136602
|
|
|
|
|
|
|
| |
rewriting of blocks which have objective-c
stuff which need be rewritten as well. // rdar://9254348
llvm-svn: 129300
|
|
|
|
|
|
| |
a block. First part of // rdar://9254348
llvm-svn: 129171
|
|
|
|
|
|
| |
block pointer nested inside a block. // rdar:// 9204669
llvm-svn: 128747
|
|
|
|
|
|
| |
__byref block. // rdar://9204669
llvm-svn: 128726
|
|
|
|
|
|
| |
__block block declaration. //rdar://9204669
llvm-svn: 128682
|
|
|
|
|
|
| |
// rdar://9056351
llvm-svn: 126536
|
|
|
|
|
|
| |
block. // rdar://9055596
llvm-svn: 126535
|
|
|
|
| |
llvm-svn: 126497
|
|
|
|
| |
llvm-svn: 126435
|
|
|
|
|
|
|
|
| |
-fobjc-exceptions flag to turn them on.
Update all tests accordingly.
llvm-svn: 126177
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
without defining them. This should be an error, but I'm paranoid about
"uses" that end up not actually requiring a definition. I'll revisit later.
Also, teach IR generation to not set internal linkage on variable
declarations, just for safety's sake. Doing so produces an invalid module
if the variable is not ultimately defined.
Also, fix several places in the test suite where we were using internal
functions without definitions.
llvm-svn: 126016
|
|
|
|
|
|
|
| |
byref variables again when passing them to inner blocks.
// rdar://9006279
llvm-svn: 125690
|
|
|
|
|
|
|
| |
variable declaration of a struct declared type.
// rdar://8918702
llvm-svn: 124451
|
|
|
|
|
|
| |
to make it clear that we're talking about the declarations and not the types.
llvm-svn: 124175
|
|
|
|
|
|
| |
AST.
llvm-svn: 120919
|
|
|
|
| |
llvm-svn: 120894
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not actually frequently used, because ImpCastExprToType only creates a node
if the types differ. So explicitly create an ICE in the lvalue-to-rvalue
conversion code in DefaultFunctionArrayLvalueConversion() as well as several
other new places, and consistently deal with the consequences throughout the
compiler.
In addition, introduce a new cast kind for loading an ObjCProperty l-value,
and make sure we emit those nodes whenever an ObjCProperty l-value appears
that's not on the LHS of an assignment operator.
This breaks a couple of rewriter tests, which I've x-failed until future
development occurs on the rewriter.
Ted Kremenek kindly contributed the analyzer workarounds in this patch.
llvm-svn: 120890
|
|
|
|
|
|
| |
inside blocks. Fixes //rdar: //8608293.
llvm-svn: 118425
|
|
|
|
|
|
|
| |
qualified ObjC pointer types in its argument list.
// rdar: //8608902
llvm-svn: 118286
|
|
|
|
|
|
| |
is a objc qualified class type. // rdar: //8608902
llvm-svn: 118208
|
|
|
|
|
|
|
| |
block pointer type arguments. Partial fix for
// rdar: //8608902
llvm-svn: 118205
|
|
|
|
|
|
| |
Fixes //rdar: // 8570020.
llvm-svn: 116882
|
|
|
|
|
|
| |
protocols. // rdar: //8558702
llvm-svn: 116652
|
|
|
|
|
|
| |
its RHS is an ivar. Fixes //rdar: //8541517.
llvm-svn: 116539
|
|
|
|
|
|
|
|
|
| |
expression, the entire assignment tree is rewritten into a property
setter messaging. This includes rewriting the RHS.
Do not attempt to rewrite RHS again. Never rewrite a rewritten text!
Fixes //rdar: //8527018.
llvm-svn: 116104
|
|
|
|
|
|
|
| |
must match start and end location of the expression
as expected by the rewriter client. Fixes // rdar: // 8520727
llvm-svn: 115934
|
|
|
|
|
|
|
|
| |
block descriptor for outer block was missing even though
the block was importing objects into its inner blocks.
//rdar://84995992
llvm-svn: 115644
|
|
|
|
|
|
| |
Fixes rdra://8475819.
llvm-svn: 115201
|
|
|
|
|
|
| |
Fixed //rdar://8472487.
llvm-svn: 114741
|
|
|
|
|
|
|
| |
which is should have done from the beginning. As usual, the most
fun with this sort of change is updating all the testcases.
llvm-svn: 113090
|
|
|
|
|
|
|
| |
block's synthesized constructor initalizer list.
Fixes radar 8240371.
llvm-svn: 109698
|
|
|
|
|
|
|
| |
Constructor Initialization which computes Source Location
differently now. Fixes radar 8213998.
llvm-svn: 109018
|
|
|
|
|
|
|
|
|
|
| |
int test1() {
return;
}
default to an error.
llvm-svn: 108108
|
|
|
|
|
|
| |
constructed one -- this is necessary to ensure types get printed correctly.
llvm-svn: 107312
|
|
|
|
|
|
|
| |
rewriting a c-style cast expression in statement printer.
Fixes radar 8143056.
llvm-svn: 107289
|
|
|
|
|
|
| |
methods. (Radar 7987817).
llvm-svn: 104608
|
|
|
|
|
|
| |
pointer is copied into a block. Fixes radar 7924024.
llvm-svn: 104526
|
|
|
|
|
|
|
| |
class declaration's @end is not followed by a new-line.
(radar 7946975).
llvm-svn: 104512
|
|
|
|
|
|
|
| |
Without it, there is no reason for a compiler that supports it to
emit the dead static globals that the rewriter labels attribute(used).
llvm-svn: 101149
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of errors and warnings. This allows us to emit something like this:
2 warnings and 1 error generated.
instead of:
3 diagnostics generated.
This also stops counting 'notes' because they are just follow-on information
about the previous diag, not a diagnostic in themselves.
llvm-svn: 100675
|
|
|
|
|
|
|
| |
external linkage (static, extern, etc.) in blocks in
rewriter. wip.
llvm-svn: 98265
|
|
|
|
|
|
| |
Fixes radar 7738452.
llvm-svn: 98190
|
|
|
|
| |
llvm-svn: 97762
|
|
|
|
| |
llvm-svn: 97761
|
|
|
|
| |
llvm-svn: 97756
|
|
|
|
|
|
| |
moved incorrectly. (radar 7714443).
llvm-svn: 97734
|
|
|
|
|
|
| |
Radar 7696893.
llvm-svn: 97520
|
|
|
|
|
|
| |
Fixes radar 7692183.
llvm-svn: 97281
|
|
|
|
|
|
| |
Fixes radar 7692350.
llvm-svn: 97254
|