File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
cpp/ql/test/library-tests/controlflow/guards Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 26
26
| test.c:137:7:137:7 | 0 |
27
27
| test.c:146:7:146:8 | ! ... |
28
28
| test.c:146:8:146:8 | x |
29
+ | test.c:152:8:152:8 | p |
30
+ | test.c:158:8:158:9 | ! ... |
31
+ | test.c:158:9:158:9 | p |
29
32
| test.cpp:18:8:18:10 | call to get |
30
33
| test.cpp:31:7:31:13 | ... == ... |
31
34
| test.cpp:42:13:42:20 | call to getABool |
Original file line number Diff line number Diff line change 79
79
| test.c:137:7:137:7 | 0 | false | 142 | 136 |
80
80
| test.c:146:7:146:8 | ! ... | true | 146 | 147 |
81
81
| test.c:146:8:146:8 | x | false | 146 | 147 |
82
+ | test.c:152:8:152:8 | p | true | 152 | 154 |
83
+ | test.c:158:8:158:9 | ! ... | true | 158 | 160 |
84
+ | test.c:158:9:158:9 | p | false | 158 | 160 |
82
85
| test.cpp:18:8:18:10 | call to get | true | 19 | 19 |
83
86
| test.cpp:31:7:31:13 | ... == ... | false | 30 | 30 |
84
87
| test.cpp:31:7:31:13 | ... == ... | false | 34 | 34 |
Original file line number Diff line number Diff line change @@ -147,3 +147,15 @@ void test5(int x) {
147
147
test3 ();
148
148
}
149
149
}
150
+
151
+ void test6 (char * p ) {
152
+ if (p ) {
153
+
154
+ }
155
+ }
156
+
157
+ void test7 (char * p ) {
158
+ if (!p ) {
159
+
160
+ }
161
+ }
You can’t perform that action at this time.
0 commit comments