[cfe-commits] "make test" fails for several Objective C files

Steve Naroff snaroff at apple.com
Wed Oct 17 14:04:00 PDT 2007


I updated my llvm/lib (Support, System, and VMCore), rebuilt and  
still don't get any ObjC errors.

At least some of the "bugs" went away quietly:-)

snaroff

On Oct 17, 2007, at 1:51 PM, Ted Kremenek wrote:

> OK, a fresh checkout gives me the single failure in cocoa.m that  
> Fariborz mentioned, but my other errors disappear.
>
> On Oct 17, 2007, at 1:37 PM, Fariborz Jahanian wrote:
>
>> I saw one failure cocoa.m but not those in Ted;s list, after clang  
>> update. I am now updating llvm and see if things change.
>>
>> - fariborz
>>
>> On Oct 17, 2007, at 1:29 PM, Ted Kremenek wrote:
>>
>>> I'll investigate a little more and see what the problem is.
>>>
>>> On Oct 17, 2007, at 1:23 PM, Steve Naroff wrote:
>>>
>>>>
>>>> On Oct 17, 2007, at 1:04 PM, Ted Kremenek wrote:
>>>>
>>>>> I'm getting the following test failures for "make test" (latest  
>>>>> version of clang & llvm).  Should I be expecting these to fail  
>>>>> right now?
>>>>
>>>> No...there should be no failures.
>>>>
>>>> I just updated/built and all the ObjC tests pass.
>>>>
>>>> Odd,
>>>>
>>>> snaroff
>>>>
>>>>>
>>>>> (kremenek at grue:clang)$ make test
>>>>> cd test; make
>>>>> <SNIP>
>>>>> Sema/DoubleMethod.m
>>>>> ******************** TEST 'Sema/DoubleMethod.m' FAILED!  
>>>>> ********************
>>>>> Command:
>>>>>  clang -fsyntax-only -verify Sema/DoubleMethod.m
>>>>> Output:
>>>>> Errors expected but not seen:
>>>>>   Line 13: previous declaration is here
>>>>>   Line 14: duplicate declaration of method 'method'
>>>>> ******************** TEST 'Sema/DoubleMethod.m' FAILED!  
>>>>> ********************
>>>>> Sema/alias-test-1.m
>>>>> Sema/alias-test-2.m
>>>>> Sema/arg-duplicate.c
>>>>> Sema/arg-invalid.c
>>>>> Sema/argument-checking.m
>>>>> ******************** TEST 'Sema/argument-checking.m' FAILED!  
>>>>> ********************
>>>>> Command:
>>>>>  clang -fsyntax-only -verify Sema/argument-checking.m
>>>>> Output:
>>>>> Errors expected but not seen:
>>>>>   Line 23: incompatible types passing 'int' to method expecting  
>>>>> 'struct S'
>>>>>   Line 24: incompatible types passing 'int' to method expecting  
>>>>> 'struct S'
>>>>> Errors seen but not expected:
>>>>>   Line 9: cannot find definition of 'id'
>>>>>   Line 11: cannot find definition of 'id'
>>>>>   Line 12: cannot find definition of 'id'
>>>>>   Line 16: use of undeclared identifier 'id'
>>>>>   Line 22: use of undeclared identifier 'obj'
>>>>>   Line 22: expected expression
>>>>>   Line 23: use of undeclared identifier 'obj'
>>>>>   Line 23: expected expression
>>>>>   Line 24: use of undeclared identifier 'obj'
>>>>>   Line 24: expected expression
>>>>> Warnings expected but not seen:
>>>>>   Line 22: incompatible types passing 'int' to method expecting  
>>>>> 'char *'
>>>>> ******************** TEST 'Sema/argument-checking.m' FAILED!  
>>>>> ********************
>>>>> ...
>>>>> (other errors omitted which look like crashes).
>>>>> _______________________________________________
>>>>> cfe-commits mailing list
>>>>> cfe-commits at cs.uiuc.edu
>>>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>>
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>

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


More information about the cfe-commits mailing list