[cfe-commits] r147490 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDeclAttr.cpp test/SemaObjC/default-synthesize-3.m

jahanian fjahanian at apple.com
Wed Jan 4 09:07:32 PST 2012


On Jan 3, 2012, at 9:50 PM, Douglas Gregor wrote:

> 
> On Jan 3, 2012, at 2:52 PM, Fariborz Jahanian wrote:
> 
>> Author: fjahanian
>> Date: Tue Jan  3 16:52:32 2012
>> New Revision: 147490
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=147490&view=rev
>> Log:
>> objc: diagnose misplacement of objc_suppress_autosynthesis
>> attribute.
> 
> Does this do what you want for @class?

Yes. attributes, including objc_suppress_autosynthesis, may only be placed on 
class definitions. And once it is placed there, @implementation will see the definition and
behaves responsibly.

- Fariborz

> 
> 	- Doug
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120104/f190f81a/attachment.html>


More information about the cfe-commits mailing list