[cfe-commits] r49187 - /cfe/trunk/utils/scan-build
Fariborz Jahanian
fjahanian at apple.com
Thu Apr 3 14:12:32 PDT 2008
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