[cfe-commits] r45491 - in /cfe/trunk: Parse/Parser.cpp test/Parser/check-syntax-1.m

Nico Weber nicolasweber at gmx.de
Thu Jan 3 05:09:10 PST 2008


> Issue diagnostic when objective-c's @interface is preceeded by a  
> type specifier.

Could you explain what the block prefixed with

     // ObjC2 allows prefix attributes on class interfaces.

is good for? What are "prefix attributes on class interfaces"?

With this patch, things like

     auto @interface Bla
     {
     }

     @end

or

     register @interface Bla
     {
     }

     @end

are still compiled without warning or error, which doesn't look  
correct to me.

Nico



More information about the cfe-commits mailing list