| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
argument to bool. // rdar://9899834
llvm-svn: 136946
|
|
|
|
|
|
| |
statement inside a block. // rdar://9878420
llvm-svn: 136717
|
|
|
|
|
|
| |
Fixed again. // rdar://9846759
llvm-svn: 136550
|
|
|
|
|
|
|
|
| |
_Block_object_assign/_Block_object_dispose correctly
for copying a captured block object. // rdar://9846759
llvm-svn: 136549
|
|
|
|
| |
llvm-svn: 136210
|
|
|
|
|
|
| |
SourceManager and FullSourceLoc.
llvm-svn: 135969
|
|
|
|
| |
llvm-svn: 135915
|
|
|
|
|
|
|
|
| |
FullSourceLoc::getInstantiationLoc to ...::getExpansionLoc. This is part
of the API and documentation update from 'instantiation' as the term for
macros to 'expansion'.
llvm-svn: 135914
|
|
|
|
|
|
|
|
| |
LLVM.h imports
them into the clang namespace.
llvm-svn: 135852
|
|
|
|
| |
llvm-svn: 135226
|
|
|
|
|
|
| |
use the deprecated forms of llvm::StringMap::GetOrCreateValue().
llvm-svn: 133515
|
|
|
|
|
|
|
|
|
|
| |
Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.
Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.
llvm-svn: 133103
|
|
|
|
| |
llvm-svn: 132878
|
|
|
|
|
|
| |
SynthesizeByrefCopyDestroyHelper(). No change in functionality intended.
llvm-svn: 130608
|
|
|
|
| |
llvm-svn: 129856
|
|
|
|
|
|
| |
rewriter, from Eric Niebler!
llvm-svn: 129849
|
|
|
|
|
|
|
|
|
| |
the lines between the given source range.
To determine what the indentation should be, a SourceLocation 'parentIndent' parameter is used that should be at
a source location with an indentation one degree lower than the given range.
llvm-svn: 129628
|
|
|
|
| |
llvm-svn: 129567
|
|
|
|
|
|
| |
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
|