]> andersk Git - splint.git/blame - test/fields.expect
noexpand always false.
[splint.git] / test / fields.expect
CommitLineData
885824d3 1
2fields.c: (in function pair_create1)
3fields.c:37:10: Storage p->z reachable from return value is owned (should be
4 dependent)
16c024b5 5 fields.c:34:3: Storage p->z becomes owned (through alias p->y)
885824d3 6fields.c: (in function mangle)
7fields.c:43:2: Released storage p->x reachable from parameter at return point
16c024b5 8 fields.c:42:9: Storage p->x released
885824d3 9fields.c: (in function mangle2)
10fields.c:49:2: Storage p->y reachable from parameter is dependent (should be
11 owned)
12 fields.c:48:3: Storage p->y becomes dependent
13fields.c: (in function mangle3)
14fields.c:55:10: Storage p->y reachable from return value is dependent (should
15 be owned)
16 fields.c:54:3: Storage p->y becomes dependent
17fields.c: (in function f)
80ee600a 18fields.c:60:3: Owned storage p->x (type int *) not released before assignment:
19 p->x = NULL
885824d3 20fields.c:62:18: Function returns with null storage derivable from parameter
21 p->x
22 fields.c:60:10: Storage p->x becomes null
23
11db3170 24Finished checking --- 6 code warnings, as expected
885824d3 25
26fields2.c: (in function pair_copy)
27fields2.c:21:16: Storage p->x reachable from parameter is kept (should be
28 implicitly only)
29 fields2.c:17:3: Storage p->x becomes kept
30fields2.c:21:16: Storage p->y reachable from parameter is kept (should be
31 implicitly only)
32 fields2.c:18:3: Storage p->y becomes kept
33fields2.c: (in function pair_create)
34fields2.c:30:3: Only storage p->y assigned to dependent: p->z = p->y
35fields2.c:35:10: Storage p->y reachable from return value is unqualified
36 (should be implicitly only)
37fields2.c: (in function pair_swankle)
38fields2.c:43:14: Storage p->x reachable from passed parameter is kept (should
39 be implicitly only): p
40 fields2.c:42:3: Storage p->x becomes kept
41
11db3170 42Finished checking --- 5 code warnings, as expected
885824d3 43
11db3170 44Finished checking --- no warnings
This page took 1.876047 seconds and 5 git commands to generate.