| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
and use it to infer all properties as 'atomic'.
// rdar://14988132
llvm-svn: 192317
|
|
|
|
|
|
|
| |
suppression of strong lifetime qualifiers when
inferring property. // rdar://15082812
llvm-svn: 192305
|
|
|
|
|
|
|
| |
properties of function pointer type.
// rdar://15082812
llvm-svn: 192237
|
|
|
|
|
|
|
|
|
| |
properties of block pointer types. Also, remove
strong lifetime attribute from property type
in this migration. This is wip.
// rdar://15082818
llvm-svn: 192226
|
|
|
|
|
|
|
| |
enable them for distinct feature migration.
// rdar://15003157
llvm-svn: 191863
|
|
|
|
|
|
|
| |
migrations under their own option.
wip and // rdar://15003157
llvm-svn: 191855
|
|
|
|
|
|
|
| |
processing in preparation for adding several more
options. // rdar://15003157
llvm-svn: 191842
|
|
|
|
|
|
|
|
| |
migration of headers which have become system headers by user having put
the .system_framework in the sdk directory.
// rdar://15066802
llvm-svn: 191796
|
|
|
|
|
|
|
| |
if property name is a valid identifier in the underlying
language. // rdar://15044184
llvm-svn: 191584
|
|
|
|
|
|
| |
on class methods, as it makes no sense. // rdar://15069200
llvm-svn: 191468
|
|
|
|
|
|
|
|
| |
inner pointer for annotation to
objc_returns_inner_pointer purposes.
// rdar://15044991
llvm-svn: 191465
|
|
|
|
|
|
|
| |
methods which look like getters but belong to
known family of methods. // rdar://15044058
llvm-svn: 191347
|
|
|
|
|
|
| |
keyword and the rest on suggested property. // rdar://15069044
llvm-svn: 191335
|
|
|
|
|
|
|
| |
NS_RETURNS_INNER_POINTER annotation is suggested on
a property. // rdar://15044991
llvm-svn: 191332
|
|
|
|
| |
llvm-svn: 191246
|
|
|
|
|
|
|
| |
use Cocoa's naming convention for properties of ObjC
object type. // rdar://15045005
llvm-svn: 191240
|
|
|
|
|
|
|
|
| |
least one hex enumerator, all others are also
hex enumerator (0 enumerator is excepted).
// rdar://15044304
llvm-svn: 191222
|
|
|
|
|
|
|
|
| |
'instancetype' for known family of methods
with related result type; such as 'init'
methods. // rdar://14987948
llvm-svn: 190956
|
|
|
|
|
|
|
| |
of methods annotated with attributes.
// rdar://14987909
llvm-svn: 190947
|
|
|
|
|
|
|
| |
'deprecated' container before doing the 'instancetype'
inference.
llvm-svn: 190943
|
|
|
|
|
|
| |
presense of parenthesized enumerator initializers.
llvm-svn: 190901
|
|
|
|
|
|
| |
'deprected' setters either. // rdar://14989365
llvm-svn: 190894
|
|
|
|
|
|
| |
entities. // rdar://14989365
llvm-svn: 190890
|
|
|
|
|
|
| |
of retainable object (readonly or otherwise).
llvm-svn: 190881
|
|
|
|
|
|
|
|
| |
possible currently.
rdar://14461559
llvm-svn: 190880
|
|
|
|
|
|
|
| |
declared as getter with or without setter method.
// rdar://15010020
llvm-svn: 190878
|
|
|
|
| |
llvm-svn: 190737
|
|
|
|
|
|
|
| |
unknown methods which return Cocoa objects. No need to annotate
such methods.
llvm-svn: 190555
|
|
|
|
|
|
|
|
| |
such that it does not lower case the staring property
name if getter name (after "get" prefix) starts with
two upper case letters.
llvm-svn: 190539
|
|
|
|
|
|
| |
start with "get" are inferreed as a readonly properties.
llvm-svn: 190532
|
|
|
|
|
|
| |
with a suitable 'getter' attribute.
llvm-svn: 190420
|
|
|
|
|
|
|
| |
annotation on methods which return typedef of pointer to
an incomplete struct type.
llvm-svn: 190372
|
|
|
|
|
|
|
|
| |
preserve getter's attribute. Also, do not attach
an inferred NS_RETURNS_INNER_POINTER to the inferred
property (it is illegal).
llvm-svn: 190223
|
|
|
|
|
|
|
|
|
| |
inferring NS_RETURNS_RETAINED, etc., return annotations.
Do not infer if these annotations are implicit
from the naming convention. Also add inference for
NS_CONSUMES_SELF annotation.
llvm-svn: 190106
|
|
|
|
|
|
| |
to Method/functions returning ObjC objects. wip.
llvm-svn: 190005
|
|
|
|
|
|
| |
annotations. (was r189892).
llvm-svn: 189956
|
|
|
|
|
|
|
| |
ObjectiveC methods. Apply specific annotations for them
instead as determined by the static analyzer.
llvm-svn: 189892
|
|
|
|
|
|
|
|
| |
of some sort (but not an object, block pointer or CF pointers),
and is not annotated with the objc_returns_inner_pointer attribute,
we should suggest NS_RETURNS_INNER_POINTER annotation for these methods.
llvm-svn: 189707
|
|
|
|
|
|
|
|
|
|
| |
specified NSUInteger as the followup typedef.
With this change, NS_OPTIONS is only inferred
based on looking up how enumerators are speficied
(if they her hexadecimal, power of 2, or have
bitwise constant expressions).
llvm-svn: 189682
|
|
|
|
|
|
| |
should infer migration to NS_OPTIONS.
llvm-svn: 189628
|
|
|
|
| |
llvm-svn: 189592
|
|
|
|
|
|
|
| |
instance methods returning non-void. This will be quite noisy. So, it is
placed under a new migrator flag -objcmt-migrate-readonly-property.
llvm-svn: 189537
|
|
|
|
|
|
|
|
| |
hasRelatedResultType() as it knows of methods which have
related result type by default. Such methods do not need
a redundant 'instancetype'.
llvm-svn: 189520
|
|
|
|
|
|
|
| |
(e.g., all -init* methods), no need to suggest "instancetype" because it
is redundant.
llvm-svn: 189514
|
|
|
|
|
|
| |
cf annotation patch.
llvm-svn: 189420
|
|
|
|
|
|
|
|
| |
cf functions which are CF_IMPLICIT_BRIDGING_ENABLED.
Add cf annotation to those not CF_IMPLICIT_BRIDGING_ENABLED
to reduce bridge casts.
llvm-svn: 189409
|
|
|
|
|
|
| |
audited types.
llvm-svn: 189072
|
|
|
|
|
|
| |
code size.
llvm-svn: 189070
|
|
|
|
|
|
| |
CF methods too.
llvm-svn: 189041
|
|
|
|
|
|
| |
as reported by static analyer API with CF_CONSUMED.
llvm-svn: 188922
|