On Feb 28, 2013, at 3:03 PM, Jordan Rose <[email protected]> wrote:

> 
> On Feb 28, 2013, at 14:36 , Fariborz Jahanian <[email protected]> wrote:
> 
>> Author: fjahanian
>> Date: Thu Feb 28 16:36:31 2013
>> New Revision: 176303
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=176303&view=rev
>> Log:
>> objective-C: clang, following gcc, warns on
>> use of stand-alone protocol as type and uses
>> id<proto>. Modify warning to say what compiler 
>> is doing. // rdar//13158394
>> 
>> Modified:
>>    cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
>>    cfe/trunk/test/FixIt/fixit-objc.m
>>    cfe/trunk/test/Parser/placeholder-recovery.m
>>    cfe/trunk/test/SemaObjC/protocol-archane.m
>> 
>> Modified: cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
>> URL: 
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td?rev=176303&r1=176302&r2=176303&view=diff
>> ==============================================================================
>> --- cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td (original)
>> +++ cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td Thu Feb 28 
>> 16:36:31 2013
>> @@ -363,7 +363,7 @@ def note_objc_container_start : Note<
>>   "%select{class|protocol|category|class extension|implementation"
>>   "|category implementation}0 started here">;
>> def warn_objc_protocol_qualifier_missing_id : Warning<
>> -  "protocol qualifiers without 'id' is archaic">;
>> +  "property has no object type specified; defaults to qualified 'id'">;
> 
> "property"? Your test case is a local variable. Was that supposed to be 
> "protocol"?

Oops. Where did it come from :)? Thanks for catching it.
- Fariborz


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to