[cfe-commits] r136927 - in /cfe/trunk: include/clang/Basic/IdentifierTable.h include/clang/Sema/Sema.h lib/Sema/SemaDeclObjC.cpp test/SemaObjC/class-protocol-method-match.m test/SemaObjC/qualified-protocol-method-conflicts.m

Fariborz Jahanian fjahanian at apple.com
Fri Aug 5 08:44:29 PDT 2011


Warnings on windows are correct but in different order. It has to do with sorting of selectors based on
their unique pointer. I requested Ted. to make the test Darwin only for now.

- Fariborz

On Aug 4, 2011, at 8:39 PM, NAKAMURA Takumi wrote:

> 2011/8/5 Fariborz Jahanian <fjahanian at apple.com>:
>> Author: fjahanian
>> Date: Thu Aug  4 16:28:44 2011
>> New Revision: 136927
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=136927&view=rev
>> Log:
>> objective-c: diagnose protocol inconsistencies in following
>> situation. When a class explicitly or implicitly (through inheritance)
>> "conformsTo" two protocols which conflict (have methods which conflict).
>> This is 2nd part of // rdar://6191214.
>> 
>> Added:
>>    cfe/trunk/test/SemaObjC/qualified-protocol-method-conflicts.m
>> Modified:
>>    cfe/trunk/include/clang/Basic/IdentifierTable.h
>>    cfe/trunk/include/clang/Sema/Sema.h
>>    cfe/trunk/lib/Sema/SemaDeclObjC.cpp
>>    cfe/trunk/test/SemaObjC/class-protocol-method-match.m
> 
> Too weird, I have seen warnings in different order with
> class-protocol-method-match.m on msvc10 and mingw32.
> It is not affected by -triple.
> 
> The log attached. (w/o -verify)
> 
> ...Takumi
> <mingw.txt>




More information about the cfe-commits mailing list