- Oct 02, 2011
-
-
John McCall authored
increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore. This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do. Most, though, it involved a perl script to translate a ton of test cases. Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now. llvm-svn: 140957
-
- Oct 01, 2011
-
-
John McCall authored
calls, or calls to audited functions without an explicit return attribute, to be casted without a bridge cast. Tie this mechanism in with the existing exceptions to the cast restrictions. State those restrictions more correctly and generalize. llvm-svn: 140912
-
- Sep 29, 2011
-
-
John McCall authored
pointer to the annotated struct type can be used as an Objective-C object pointer. If an argument is given, the type is actually "toll-free bridged" to the specific type named there, rather than just to 'id'. For now, we cannot rely on all types being so annotated, and we'll always have to have exceptions for things like CFTypeRef (aka const void*), but this is clearly a good foundation for improving toolage in this area. llvm-svn: 140779
-
Ted Kremenek authored
Like IBOutletCollection, it only makes sense to apply the IBOutlet annotation to Objective-C object types. Fixes <rdar://problem/10142685>. llvm-svn: 140778
-
- Sep 28, 2011
-
-
Fariborz Jahanian authored
some arguments types are ns_consumed and some otherwise matching types are not. This is objc side of // rdar://10187884 llvm-svn: 140729
-
Ted Kremenek authored
Tweak -Wobjc-missing-super-calls to not warning about missing [super dealloc] when in GC-only mode, and to not warning about missing [super finalize] when not using GC. llvm-svn: 140713
-
Ted Kremenek authored
llvm-svn: 140657
-
Douglas Gregor authored
macro whose only replacement token is '_Bool'. llvm-svn: 140656
-
Douglas Gregor authored
'bool' rather than '_Bool' within types, to make things a bit more readable. Fixes <rdar://problem/10063263>. llvm-svn: 140650
-
Fariborz Jahanian authored
attribute must match its overriden method. Same also for ns_returns_retained/not_retained on the result type. This is one half of // rdar://10187884 llvm-svn: 140649
-
- Sep 27, 2011
-
-
Douglas Gregor authored
system change in <rdar://problem/10109725> that allows conversion from 'self' in class methods to the root of the class's hierarchy. This conversion rule is a hack that has non-trivial repurcussions (particularly with overload resolution). llvm-svn: 140605
-
Fariborz Jahanian authored
protocol declares the property, as well as one of its superclasses. Property will be implemented in the super class. // rdar://10120691 llvm-svn: 140586
-
Fariborz Jahanian authored
ingore the type qualifiers. // rdar://10156674 llvm-svn: 140571
-
- Sep 26, 2011
-
-
Fariborz Jahanian authored
in arc mode and are in system headers as unavailable. // rdar://10186625 llvm-svn: 140565
-
Benjamin Kramer authored
llvm-svn: 140513
-
- Sep 24, 2011
-
-
Fariborz Jahanian authored
must match property type declaration in its primary class. // rdar://10142679 llvm-svn: 140438
-
Fariborz Jahanian authored
followed by it implementation crashes when attempt is made to access the synthesized ivar. // rdar://10177744 llvm-svn: 140432
-
- Sep 23, 2011
-
-
Douglas Gregor authored
llvm-svn: 140408
-
Douglas Gregor authored
merging for overrides. One might want to make a method's availability in a superclass different from that of its subclass. Fixes <rdar://problem/10166223>. llvm-svn: 140406
-
Douglas Gregor authored
MatchRHSPunctuation appropriately and giving a useful source location for the complaint about attributes being added to a category. llvm-svn: 140404
-
- Sep 21, 2011
-
-
- Sep 17, 2011
-
-
Fariborz Jahanian authored
class of this method. // rdar://10109725 llvm-svn: 139989
-
Fariborz Jahanian authored
is missing. // rdar//10127639 llvm-svn: 139988
-
- Sep 15, 2011
-
-
Fariborz Jahanian authored
instead of 'Class'. llvm-svn: 139834
-
Fariborz Jahanian authored
in class methods with no warning. //rdar://10109725 llvm-svn: 139818
-
- Sep 14, 2011
-
-
Fariborz Jahanian authored
declared which does not force a 'copy' of the block literal object. // rdar://9829425 llvm-svn: 139706
-
- Sep 10, 2011
-
-
David Blaikie authored
llvm-svn: 139463
-
Douglas Gregor authored
methods, and improve the diagnostic slightly along the way. Fixes <rdar://problem/10098695>. llvm-svn: 139446
-
- Sep 09, 2011
-
-
Douglas Gregor authored
llvm-svn: 139334
-
- Sep 08, 2011
-
-
Douglas Gregor authored
Objective-C. The @encode'ing of such an enumeration type is the same as its underlying type. <rdar://problem/5276348>. llvm-svn: 139297
-
Douglas Gregor authored
'id' that can be used (only!) via a contextual keyword as the result type of an Objective-C message send. 'instancetype' then gives the method a related result type, which we have already been inferring for a variety of methods (new, alloc, init, self, retain). Addresses <rdar://problem/9267640>. llvm-svn: 139275
-
- Sep 07, 2011
-
-
Fariborz Jahanian authored
in GC mode. // rdar://10073896 llvm-svn: 139235
-
- Sep 01, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 138917
-
Fariborz Jahanian authored
synthesis. This new feature is currently placed under -fobjc-default-synthesize-properties option and is off by default pending further testing. It will become the default feature soon. // rdar://8843851 llvm-svn: 138913
-
- Aug 31, 2011
-
-
Fariborz Jahanian authored
and does the Sema on their body after the entire class/category @implementation is seen. This change allows messaging of forward private methods, as well as, access to synthesized ivars of properties with foward synthesize declarations; among others. In effect, this patch removes several restrictions placed on objective-c due to in-place semantics processing of methods. This is part of // rdar://8843851. llvm-svn: 138865
-
Chandler Carruth authored
of the function in question when applicable (that is, not for blocks). Patch by Joerg Sonnenberger with some stylistic tweaks by me. When discussing this weth Joerg, streaming the decl directly into the diagnostic didn't work because we have a pointer-to-const, and the overload doesn't accept such. In order to make my style tweaks to the patch, I first changed the overload to accept a pointer-to-const, and then changed the diagnostic printing layer to also use a pointer-to-const, cleaning up a gross line of code along the way. llvm-svn: 138854
-
- Aug 30, 2011
-
-
Fariborz Jahanian authored
objective-c containers due to recent changes to objc decl contexts. // rdar://10041908 llvm-svn: 138803
-
Nico Weber authored
llvm-svn: 138776
-
- Aug 29, 2011
-
-
Nico Weber authored
This matches gcc's logic. Second half of PR10661. llvm-svn: 138730
-
- Aug 27, 2011
-
-
Fariborz Jahanian authored
to class implementation where it is supposed to be implemented. // rdar://10009982. llvm-svn: 138714
-