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

Douglas Gregor dgregor at apple.com
Wed Jan 4 09:09:17 PST 2012


On Jan 4, 2012, at 9:07 AM, jahanian wrote:

> 
> 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.

Sounds good to me, thanks!

	- Doug

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


More information about the cfe-commits mailing list