| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is similar to how we divide up the StaticAnalyzer libraries to separate
core functionality to what is clearly associated with Frontend actions.
llvm-svn: 163050
|
|
|
|
|
|
| |
No functionality change.
llvm-svn: 162552
|
|
|
|
|
|
| |
for structure valued method messaging. // rdar://12142241
llvm-svn: 162303
|
|
|
|
|
|
|
|
|
| |
and remove ASTContext reference (which was frequently bound to a dereferenced
null pointer) from the recursive lump of printPretty functions. In so doing,
fix (at least) one case where we intended to use the 'dump' mode, but that
failed because a null ASTContext reference had been passed in.
llvm-svn: 162011
|
|
|
|
|
|
|
|
| |
"memset' lazily when is needed in translation of
struct-valued methods which require checkinf of nil receivers
outside their bodies. // rdar://11847319
llvm-svn: 160759
|
|
|
|
|
|
| |
<string.h>. // rdar://11847319
llvm-svn: 160287
|
|
|
|
|
|
|
| |
correctly for blocks and function pointer arguments
in the written constructor. // rdar://11359268
llvm-svn: 159456
|
|
|
|
|
|
| |
platforms declare memset in rewritten code instead.
llvm-svn: 159454
|
|
|
|
|
|
|
| |
entry point which requires nil check before calling objc_msgSend_stret.
// rdar://11359268 - wip.
llvm-svn: 159445
|
|
|
|
|
|
|
| |
initialization, and use that information to produce the right kind of
initialization during template instantiation.
llvm-svn: 158288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
value_type
In addition, I've made the pointer and reference typedef 'void' rather than T*
just so they can't get misused. I would've omitted them entirely but
std::distance likes them to be there even if it doesn't use them.
This rolls back r155808 and r155869.
Review by Doug Gregor incorporating feedback from Chandler Carruth.
llvm-svn: 158104
|
|
|
|
| |
llvm-svn: 157886
|
|
|
|
| |
llvm-svn: 157436
|
|
|
|
|
|
| |
statement. // rdar://11474836.
llvm-svn: 157359
|
|
|
|
|
|
| |
synthesis of property getter/setters. // rdar://11374235
llvm-svn: 156447
|
|
|
|
|
|
|
| |
prototypes should both return `struct objc_class *`.
// rdar://11375495
llvm-svn: 156418
|
|
|
|
| |
llvm-svn: 156304
|
|
|
|
|
|
| |
// rdar://11095151
llvm-svn: 156127
|
|
|
|
|
|
| |
synthesis translation. // rdar://11374235 - wip.
llvm-svn: 156125
|
|
|
|
|
|
| |
of places. // rdar://11375908
llvm-svn: 156106
|
|
|
|
|
|
|
| |
prototypes should both return `struct objc_class *`.
// rdar://11375495
llvm-svn: 156097
|
|
|
|
|
|
| |
for __NSContainer_literal.
llvm-svn: 156035
|
|
|
|
|
|
|
| |
related to laying out ivar structs and accessing non-fragile-ivar
in more compilated cases. // rdar://11323187
llvm-svn: 156004
|
|
|
|
|
|
| |
// rdar://11351299
llvm-svn: 155921
|
|
|
|
|
|
|
|
| |
defined inside the objc class belong to class's
decl. scope. This is to conform to objective-c
rules. // rdar://11351299
llvm-svn: 155855
|
|
|
|
| |
llvm-svn: 155843
|
|
|
|
|
|
| |
local rewriting functions.
llvm-svn: 155826
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filter_decl_iterator had a weird mismatch where both op* and op-> returned T*
making it difficult to generalize this filtering behavior into a reusable
library of any kind.
This change errs on the side of value, making op-> return T* and op* return
T&.
(reviewed by Richard Smith)
llvm-svn: 155808
|
|
|
|
|
|
|
| |
nonfragile ivar access code when ivar type is a
locally defined struct/union type. // rdar://11323187
llvm-svn: 155740
|
|
|
|
|
|
| |
symbols should be static. // rdar://11337074
llvm-svn: 155736
|
|
|
|
|
|
|
| |
of writing a __block variable being initialized with
a constructed object. // rdar://11326988
llvm-svn: 155673
|
|
|
|
|
|
|
| |
a const qualified static c-function.
// rdar://11314329
llvm-svn: 155564
|
|
|
|
|
|
|
| |
declaration of __block variables on same lines
with initializers. // rdsr://7547630
llvm-svn: 155473
|
|
|
|
|
|
|
| |
multiple declaration of block variables
(with no initializer) on the same line.
llvm-svn: 155462
|
|
|
|
| |
llvm-svn: 155449
|
|
|
|
|
|
|
| |
patch fixing writing a spurious 'static' into
the wrong place. // rdar://11275241
llvm-svn: 155130
|
|
|
|
|
|
|
| |
into the wrong place when rewriting a static function
which declares block literals. // rdar://11275241
llvm-svn: 155084
|
|
|
|
| |
llvm-svn: 155082
|
|
|
|
|
|
|
|
| |
block meta-data of block literals declared inside
of extern "C" functions.
// rdar://1131490
llvm-svn: 154939
|
|
|
|
|
|
| |
block literal is imported. // rdar://11259664
llvm-svn: 154876
|
|
|
|
|
|
|
| |
cast to/from block pointer types. // rdar://11202764
Also, many more modern translator tests.
llvm-svn: 154869
|
|
|
|
|
|
| |
definition for protocols static. // rdar://11248048
llvm-svn: 154753
|
|
|
|
|
|
|
| |
__typeof which is a regression by reverting
r154360. // rdar://11233924
llvm-svn: 154679
|
|
|
|
|
|
|
|
| |
call to 'super' use __rw_objc_super as type of the
'super' meta-data instead of objc_super.
// rdar://11239894
llvm-svn: 154670
|
|
|
|
|
|
| |
struct __rw_objc_super; no functionality change.
llvm-svn: 154632
|
|
|
|
|
|
|
| |
__weak and __block when rewriting.
// rdar://11236342
llvm-svn: 154592
|
|
|
|
|
|
| |
of a __block struct object. // rdar://11230308
llvm-svn: 154566
|
|
|
|
|
|
|
| |
first ivar in the list is a bitfield.
// rdar://11229770
llvm-svn: 154534
|
|
|
|
|
|
| |
subscripting. // rdar://11203853
llvm-svn: 154441
|
|
|
|
|
|
|
| |
implicit casts which is needed to produce good c++
code. // rdar://11202764
llvm-svn: 154360
|