[cfe-commits] r49187 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Sun Apr 6 21:03:10 PDT 2008


Hi Fariborz,

Sorry for not noticing your email sooner.  I had changed the output of  
clang -grsimple, causing these tests to fail.  I believe the tests  
have been fixed.  Are you still encountering failures?

Ted

On Apr 3, 2008, at 2:12 PM, Fariborz Jahanian wrote:

>
> Checked out clang. Following test failed. Is this expected:
>
> ******************** TEST 'Analysis/stack-addr-ps.c' FAILED!  
> ********************
> Command:
> clang -grsimple -verify Analysis/stack-addr-ps.c
> Incorrect Output:
> ANALYZE: Analysis/stack-addr-ps.c f1
> ANALYZE: Analysis/stack-addr-ps.c f2
> ANALYZE: Analysis/stack-addr-ps.c f3
> Warnings expected but not seen:
>  Line 5: Address of stack-allocated variable returned.
>  Line 9: Address of stack-allocated variable returned.
>  Line 18: Address of stack-allocated variable returned.
> Warnings seen but not expected:
>  Line 5: [CHECKER] return of stack address
>  Line 9: [CHECKER] return of stack address
>  Line 18: [CHECKER] return of stack address
>
> ******************** TEST 'Analysis-Apple/uninit-msg-expr.m' FAILED!  
> ********************
> Command:
> clang -grsimple -verify Analysis-Apple/uninit-msg-expr.m
> Incorrect Output:
> ANALYZE: Analysis-Apple/uninit-msg-expr.m f1
> ANALYZE: Analysis-Apple/uninit-msg-expr.m f2
> ANALYZE: Analysis-Apple/uninit-msg-expr.m f3
> Warnings expected but not seen:
>  Line 8: Receiver in message expression is an uninitialized value
>  Line 19: Pass-by-value argument in message expression is undefined.
> Warnings seen but not expected:
>  Line 8: [CHECKER] invalid message expression
>  Line 19: [CHECKER] bad argument
>
> - Fariborz
>




More information about the cfe-commits mailing list