| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129559
|
|
|
|
|
|
| |
string or not.
llvm-svn: 129488
|
|
|
|
|
|
| |
RewriterOptions struct.
llvm-svn: 129430
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
-Allow removing a line completely if it ends up empty
-Provide more control on what should be removed.
llvm-svn: 129085
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
extending the existing support for sizeof and alignof. Original
patch by Guy Benyei.
llvm-svn: 127475
|
|
|
|
| |
llvm-svn: 127330
|
|
|
|
| |
llvm-svn: 127225
|
|
|
|
| |
llvm-svn: 127119
|
|
|
|
|
|
| |
// rdar://9056351
llvm-svn: 126536
|
|
|
|
|
|
| |
block. // rdar://9055596
llvm-svn: 126535
|
|
|
|
| |
llvm-svn: 126435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
class and to bind the shared value using OpaqueValueExpr. This fixes an
unnoticed problem with deserialization of these expressions where the
deserialized form would lose the vital pointer-equality trait; or rather,
it fixes it because this patch also does the right thing for deserializing
OVEs.
Change OVEs to not be a "temporary object" in the sense that copy elision is
permitted.
This new representation is not totally unawkward to work with, but I think
that's really part and parcel with the semantics we're modelling here. In
particular, it's much easier to fix things like the copy elision bug and to
make the CFG look right.
I've tried to update the analyzer to deal with this in at least some
obvious cases, and I think we get a much better CFG out, but the printing
of OpaqueValueExprs probably needs some work.
llvm-svn: 125744
|
|
|
|
|
|
|
| |
byref variables again when passing them to inner blocks.
// rdar://9006279
llvm-svn: 125690
|
|
|
|
|
|
|
| |
Stmt::const_child_range, then make a bunch of places use them instead
of the individual iterator accessors.
llvm-svn: 125450
|
|
|
|
| |
llvm-svn: 125275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- BlockDeclRefExprs always store VarDecls
- BDREs no longer store copy expressions
- BlockDecls now store a list of captured variables, information about
how they're captured, and a copy expression if necessary
With that in hand, change IR generation to use the captures data in
blocks instead of walking the block independently.
Additionally, optimize block layout by emitting fields in descending
alignment order, with a heuristic for filling in words when alignment
of the end of the block header is insufficient for the most aligned
field.
llvm-svn: 125005
|
|
|
|
|
|
|
| |
variable declaration of a struct declared type.
// rdar://8918702
llvm-svn: 124451
|
|
|
|
|
|
| |
thousand other things which were (generally inadvertantly) relying on that.
llvm-svn: 123814
|
|
|
|
|
|
| |
-Wint-to-pointer-cast.
llvm-svn: 123719
|
|
|
|
| |
llvm-svn: 122941
|
|
|
|
| |
llvm-svn: 122394
|
|
|
|
|
|
| |
equivalents.
llvm-svn: 122140
|
|
|
|
| |
llvm-svn: 121795
|
|
|
|
| |
llvm-svn: 121763
|
|
|
|
| |
llvm-svn: 121759
|
|
|
|
|
|
|
| |
class to be passed around. The line between argument and return types and
everything else is kindof vague, but I think it's justifiable.
llvm-svn: 121752
|
|
|
|
| |
llvm-svn: 121516
|
|
|
|
|
|
| |
AST.
llvm-svn: 120919
|
|
|
|
|
|
|
|
| |
ObjCPropertyRefExpr
into the latter.
llvm-svn: 120643
|
|
|
|
| |
llvm-svn: 120297
|
|
|
|
| |
llvm-svn: 119965
|
|
|
|
| |
llvm-svn: 119735
|
|
|
|
|
|
|
|
|
|
|
| |
-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units.
-The rest of the state in Diagnostic object is considered related and tied to one translation unit.
-Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a
SourceLocation instead of a FullSourceLoc.
-Reflect the changes to various interfaces.
llvm-svn: 119730
|
|
|
|
|
|
| |
out because there are still bugs left.
llvm-svn: 119722
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
store it on the expression node. Also store an "object kind",
which distinguishes ordinary "addressed" l-values (like
variable references and pointer dereferences) and bitfield,
@property, and vector-component l-values.
Currently we're not using these for much, but I aim to switch
pretty much everything calculating l-valueness over to them.
For now they shouldn't necessarily be trusted.
llvm-svn: 119685
|
|
|
|
|
|
|
| |
choice of cast doesn't matter here, but I've tried to choose
the right one anyway.
llvm-svn: 119140
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 117871
|
|
|
|
| |
llvm-svn: 117106
|
|
|
|
|
|
| |
to 'super'.
llvm-svn: 116928
|
|
|
|
|
|
|
|
|
| |
As far as I can see, gcc is right to think this! The following change
will cause a nice segfault rather than undefined behaviour if this case
occurs. Someone who understands what this code is supposed to do should
probably take a proper look.
llvm-svn: 116917
|
|
|
|
|
|
| |
Fixes //rdar: // 8570020.
llvm-svn: 116882
|