summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-04 22:39:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-04 22:39:10 +0300
commitc0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd (patch)
tree39dc709ba8b62b3f11a6647b760ff6bd2088061e
parent92447d4e21edce67f88dbaded77fcc5d6f4f639e (diff)
downloadparanucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.tar.gz
paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.tar.bz2
paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.tar.xz
paranucker-c0cb5d5dc46ac373e4de967d6a3f61b7da5e68cd.zip
Update test results.
-rw-r--r--test/test05-03.txt32
-rw-r--r--test/test05-05.txt32
-rw-r--r--test/test06-03.txt6
-rw-r--r--test/test06-04.txt6
-rw-r--r--test/test07-04.txt6
-rw-r--r--test/test07-05.txt6
-rw-r--r--test/test08-03.txt6
-rw-r--r--test/test08-04.txt6
-rw-r--r--test/test09-03.txt46
-rw-r--r--test/test09-04.txt46
-rw-r--r--test/test10-03.txt64
-rw-r--r--test/test10-04.txt64
-rw-r--r--test/test11-03.txt24
-rw-r--r--test/test11-04.txt24
-rw-r--r--test/test12-03.txt42
-rw-r--r--test/test12-04.txt42
-rw-r--r--test/test13-03.txt32
-rw-r--r--test/test13-05.txt32
-rw-r--r--test/test14-03.txt6
-rw-r--r--test/test14-04.txt6
-rw-r--r--test/test15-03.txt64
-rw-r--r--test/test15-04.txt64
-rw-r--r--test/test16-03.txt24
-rw-r--r--test/test16-04.txt24
-rw-r--r--test/test17-03.txt12
-rw-r--r--test/test17-04.txt12
-rw-r--r--test/test18-03.txt8
-rw-r--r--test/test18-04.txt8
-rw-r--r--test/test19-03.txt16
-rw-r--r--test/test19-04.txt16
-rw-r--r--test/test20-03.txt16
-rw-r--r--test/test20-04.txt16
-rw-r--r--test/test22-03.txt24
-rw-r--r--test/test22-04.txt24
-rw-r--r--test/test22-05.txt24
-rw-r--r--test/test23-03.txt14
-rw-r--r--test/test23-04.txt14
-rw-r--r--test/test23-05.txt14
-rw-r--r--test/test24-03.txt10
-rw-r--r--test/test24-04.txt10
-rw-r--r--test/test24-05.txt10
-rw-r--r--test/test27-03.txt94
-rw-r--r--test/test27-04.txt94
-rw-r--r--test/test27-05.txt94
-rw-r--r--test/test30-03.txt2
-rw-r--r--test/test30-04.txt2
-rw-r--r--test/test30-05.txt2
-rw-r--r--test/test33-03.txt12
-rw-r--r--test/test33-04.txt12
-rw-r--r--test/test33-05.txt12
-rw-r--r--test/test34-03.txt16
-rw-r--r--test/test34-04.txt16
-rw-r--r--test/test34-05.txt16
-rw-r--r--test/test39-03.txt22
-rw-r--r--test/test39-04.txt22
-rw-r--r--test/test39-05.txt22
-rw-r--r--test/test42-03.txt2
-rw-r--r--test/test42-04.txt2
-rw-r--r--test/test42-05.txt2
59 files changed, 698 insertions, 698 deletions
diff --git a/test/test05-03.txt b/test/test05-03.txt
index 187f692..023852d 100644
--- a/test/test05-03.txt
+++ b/test/test05-03.txt
@@ -1,17 +1,17 @@
test05.cpp: In function 'void func1(int, int*, char)':
-test05.cpp:12:13: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:12:13: warning: Using variable 'b' without checking for null pointer
*b = 100;
^
test05.cpp: In function 'void func2(int, int*, char)':
-test05.cpp:17:9: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:17:9: warning: Using variable 'b' without checking for null pointer
*(1 + b) = 200;
^
test05.cpp: In function 'void func3(int, int*, char)':
-test05.cpp:22:9: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:22:9: warning: Using variable 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
test05.cpp: In function 'void func5(int, int*, char)':
-test05.cpp:28:12: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:28:12: warning: Using variable 'b' without checking for null pointer
*(var1 + b) = 400;
^
test05.cpp: In function 'void func6(int, int*, char)':
@@ -19,20 +19,20 @@ test05.cpp:34:16: warning: Using variable 'var2' without checking for null point
*var2 = 500;
^
test05.cpp: In function 'void func7(int, int*, char)':
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
int *var3 = 12 + b;
^
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
test05.cpp: In function 'void func8(int, int*, char)':
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
int **var4 = &bptr;
^
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
diff --git a/test/test05-05.txt b/test/test05-05.txt
index 52d0ba5..ffd8c93 100644
--- a/test/test05-05.txt
+++ b/test/test05-05.txt
@@ -4,7 +4,7 @@ expr_stmt : b,
convert_expr : b,
modify_expr : b,
test05.cpp: In function 'void func1(int, int*, char)':
-test05.cpp:12:13: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:12:13: warning: Using variable 'b' without checking for null pointer
*b = 100;
^
indirect_ref : b,
@@ -25,7 +25,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test05.cpp: In function 'void func2(int, int*, char)':
-test05.cpp:17:9: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:17:9: warning: Using variable 'b' without checking for null pointer
*(1 + b) = 200;
^
parm_decl b: b,
@@ -46,7 +46,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test05.cpp: In function 'void func3(int, int*, char)':
-test05.cpp:22:9: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:22:9: warning: Using variable 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
parm_decl b: b,
@@ -79,7 +79,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test05.cpp: In function 'void func5(int, int*, char)':
-test05.cpp:28:12: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:28:12: warning: Using variable 'b' without checking for null pointer
*(var1 + b) = 400;
^
parm_decl b: b,
@@ -203,7 +203,7 @@ statement_list : b,
decl_expr : b,
pointer_plus_expr : b,
test05.cpp: In function 'void func7(int, int*, char)':
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
int *var3 = 12 + b;
^
parm_decl b: b,
@@ -214,7 +214,7 @@ integer_cst 48: b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -234,7 +234,7 @@ indirect_ref : b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -250,7 +250,7 @@ integer_cst 600: b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -270,7 +270,7 @@ block : b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -283,7 +283,7 @@ integer_cst 32: b,
integer_cst -2147483648: b,
integer_cst 2147483647: b,
pointer_plus_expr : b,
-test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
+test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -299,7 +299,7 @@ statement_list : bptr,
decl_expr : bptr,
addr_expr : bptr,
test05.cpp: In function 'void func8(int, int*, char)':
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
int **var4 = &bptr;
^
parm_decl bptr: bptr,
@@ -309,7 +309,7 @@ integer_cst 64: bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -330,7 +330,7 @@ indirect_ref : bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -346,7 +346,7 @@ integer_cst 700: bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -366,7 +366,7 @@ block : bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -379,7 +379,7 @@ integer_cst 32: bptr,
integer_cst -2147483648: bptr,
integer_cst 2147483647: bptr,
addr_expr : bptr,
-test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
+test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
diff --git a/test/test06-03.txt b/test/test06-03.txt
index c74227e..c75c9be 100644
--- a/test/test06-03.txt
+++ b/test/test06-03.txt
@@ -1,12 +1,12 @@
test06.cpp: In function 'void func1(int*)':
-test06.cpp:12:13: warning: Using parameter 'a' without checking for null pointer
+test06.cpp:12:13: warning: Using variable 'a' without checking for null pointer
*a = 100;
^
test06.cpp: In function 'void func5(int*)':
-test06.cpp:45:13: warning: Using parameter 'a' without checking for null pointer
+test06.cpp:45:13: warning: Using variable 'a' without checking for null pointer
*a = 600;
^
test06.cpp: In function 'void func7(int*)':
-test06.cpp:70:16: warning: Using parameter 'aptr' without checking for null pointer
+test06.cpp:70:16: warning: Using variable 'aptr' without checking for null pointer
*aptr = 800;
^
diff --git a/test/test06-04.txt b/test/test06-04.txt
index b5de82e..58171a7 100644
--- a/test/test06-04.txt
+++ b/test/test06-04.txt
@@ -4,7 +4,7 @@ expr_stmt : a,
convert_expr : a,
modify_expr : a,
test06.cpp: In function 'void func1(int*)':
-test06.cpp:12:13: warning: Using parameter 'a' without checking for null pointer
+test06.cpp:12:13: warning: Using variable 'a' without checking for null pointer
*a = 100;
^
indirect_ref : a,
@@ -134,7 +134,7 @@ expr_stmt : a,
convert_expr : a,
modify_expr : a,
test06.cpp: In function 'void func5(int*)':
-test06.cpp:45:13: warning: Using parameter 'a' without checking for null pointer
+test06.cpp:45:13: warning: Using variable 'a' without checking for null pointer
*a = 600;
^
indirect_ref : a,
@@ -316,7 +316,7 @@ expr_stmt : aptr,
convert_expr : aptr,
modify_expr : aptr,
test06.cpp: In function 'void func7(int*)':
-test06.cpp:70:16: warning: Using parameter 'aptr' without checking for null pointer
+test06.cpp:70:16: warning: Using variable 'aptr' without checking for null pointer
*aptr = 800;
^
indirect_ref : aptr,
diff --git a/test/test07-04.txt b/test/test07-04.txt
index 418f8d8..68463a8 100644
--- a/test/test07-04.txt
+++ b/test/test07-04.txt
@@ -1,9 +1,9 @@
test07.cpp: In member function 'void Object1::func2(int*)':
-test07.cpp:27:18: warning: Using parameter 'aptr' without checking for null pointer
+test07.cpp:27:18: warning: Using variable 'aptr' without checking for null pointer
*aptr = 0;
^
test07.cpp: In member function 'void Object1::func5(Struct1*)':
-test07.cpp:43:22: warning: Using parameter 'sptr' without checking for null pointer
+test07.cpp:43:22: warning: Using variable 'sptr' without checking for null pointer
sptr->num = 0;
^
-test07.cpp:43:22: warning: Using field 'sptr' without checking for null pointer
+test07.cpp:43:22: warning: Using variable 'sptr' without checking for null pointer
diff --git a/test/test07-05.txt b/test/test07-05.txt
index 31d04e3..325dd99 100644
--- a/test/test07-05.txt
+++ b/test/test07-05.txt
@@ -9326,7 +9326,7 @@ expr_stmt : aptr,
convert_expr : aptr,
modify_expr : aptr,
test07.cpp: In member function 'void Object1::func2(int*)':
-test07.cpp:27:18: warning: Using parameter 'aptr' without checking for null pointer
+test07.cpp:27:18: warning: Using variable 'aptr' without checking for null pointer
*aptr = 0;
^
indirect_ref : aptr,
@@ -9392,10 +9392,10 @@ expr_stmt : sptr,
convert_expr : sptr,
modify_expr : sptr,
test07.cpp: In member function 'void Object1::func5(Struct1*)':
-test07.cpp:43:22: warning: Using parameter 'sptr' without checking for null pointer
+test07.cpp:43:22: warning: Using variable 'sptr' without checking for null pointer
sptr->num = 0;
^
-test07.cpp:43:22: warning: Using field 'sptr' without checking for null pointer
+test07.cpp:43:22: warning: Using variable 'sptr' without checking for null pointer
component_ref : sptr,
indirect_ref : sptr,
parm_decl sptr: sptr,
diff --git a/test/test08-03.txt b/test/test08-03.txt
index 36d5b75..e338705 100644
--- a/test/test08-03.txt
+++ b/test/test08-03.txt
@@ -65,7 +65,7 @@ expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
test08.cpp: In member function 'void Object1::func2(int*)':
-test08.cpp:20:20: warning: Using parameter 'ptr2' without checking for null pointer
+test08.cpp:20:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr2,
@@ -98,7 +98,7 @@ expr_stmt : ptr3,
convert_expr : ptr3,
modify_expr : ptr3,
test08.cpp: In member function 'void Object1::func3(int*)':
-test08.cpp:28:20: warning: Using parameter 'ptr3' without checking for null pointer
+test08.cpp:28:20: warning: Using variable 'ptr3' without checking for null pointer
*ptr3 = 300;
^
indirect_ref : ptr3,
@@ -237,7 +237,7 @@ cleanup_point_expr : ptr6,
expr_stmt : ptr6,
convert_expr : ptr6,
modify_expr : ptr6,
-test08.cpp:59:20: warning: Using parameter 'ptr6' without checking for null pointer
+test08.cpp:59:20: warning: Using variable 'ptr6' without checking for null pointer
*ptr6 = 600;
^
indirect_ref : ptr6,
diff --git a/test/test08-04.txt b/test/test08-04.txt
index 2947b81..cdcac99 100644
--- a/test/test08-04.txt
+++ b/test/test08-04.txt
@@ -1,16 +1,16 @@
test08.cpp: In member function 'void Object1::func2(int*)':
-test08.cpp:20:20: warning: Using parameter 'ptr2' without checking for null pointer
+test08.cpp:20:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
test08.cpp: In member function 'void Object1::func3(int*)':
-test08.cpp:28:20: warning: Using parameter 'ptr3' without checking for null pointer
+test08.cpp:28:20: warning: Using variable 'ptr3' without checking for null pointer
*ptr3 = 300;
^
test08.cpp: In member function 'void Object1::func6(int*)':
test08.cpp:55:18: warning: Useless variable check 'ptr6'. It already was checked before
if (!ptr6)
^
-test08.cpp:59:20: warning: Using parameter 'ptr6' without checking for null pointer
+test08.cpp:59:20: warning: Using variable 'ptr6' without checking for null pointer
*ptr6 = 600;
^
test08.cpp: In member function 'void Object1::func7(int*)':
diff --git a/test/test09-03.txt b/test/test09-03.txt
index 97546a3..78b7a59 100644
--- a/test/test09-03.txt
+++ b/test/test09-03.txt
@@ -154,7 +154,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func3(int*, int*)':
-test09.cpp:38:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:38:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -171,7 +171,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:39:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:39:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -216,7 +216,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func4(int*, int*)':
-test09.cpp:50:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:50:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -233,7 +233,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:53:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:53:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -250,7 +250,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:54:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:54:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -309,7 +309,7 @@ expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
test09.cpp: In member function 'void Object1::func5(int*, int*)':
-test09.cpp:65:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:65:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr2,
@@ -382,7 +382,7 @@ expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
test09.cpp: In member function 'void Object1::func6(int*, int*)':
-test09.cpp:80:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:80:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr2,
@@ -427,7 +427,7 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test09.cpp: In member function 'void Object1::func7(int*, int*)':
-test09.cpp:91:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:91:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1,
@@ -444,7 +444,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
-test09.cpp:94:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:94:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1,
@@ -503,7 +503,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func8(int*, int*)':
-test09.cpp:106:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:106:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -520,7 +520,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:109:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:109:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -537,7 +537,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:110:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:110:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -582,7 +582,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func9(int*, int*)':
-test09.cpp:121:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:121:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -599,7 +599,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:124:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:124:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -616,7 +616,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:125:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:125:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -714,7 +714,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func10(int*, int*)':
-test09.cpp:139:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:139:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -731,7 +731,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:140:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:140:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -800,7 +800,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func11(int*, int*)':
-test09.cpp:148:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:148:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -844,7 +844,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:151:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:151:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -861,7 +861,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:152:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:152:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -922,7 +922,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test09.cpp: In member function 'void Object1::func12(int*, int*)':
-test09.cpp:159:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:159:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -953,7 +953,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:166:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:166:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -970,7 +970,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test09.cpp:167:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:167:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
diff --git a/test/test09-04.txt b/test/test09-04.txt
index 3d74404..827bfb2 100644
--- a/test/test09-04.txt
+++ b/test/test09-04.txt
@@ -1,79 +1,79 @@
test09.cpp: In member function 'void Object1::func3(int*, int*)':
-test09.cpp:38:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:38:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:39:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:39:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func4(int*, int*)':
-test09.cpp:50:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:50:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test09.cpp:53:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:53:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:54:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:54:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func5(int*, int*)':
-test09.cpp:65:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:65:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func6(int*, int*)':
-test09.cpp:80:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:80:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func7(int*, int*)':
-test09.cpp:91:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:91:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test09.cpp:94:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:94:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
test09.cpp: In member function 'void Object1::func8(int*, int*)':
-test09.cpp:106:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:106:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test09.cpp:109:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:109:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:110:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:110:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func9(int*, int*)':
-test09.cpp:121:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:121:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test09.cpp:124:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:124:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:125:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:125:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func10(int*, int*)':
-test09.cpp:139:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:139:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:140:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:140:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func11(int*, int*)':
-test09.cpp:148:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:148:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test09.cpp:151:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:151:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:152:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:152:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test09.cpp: In member function 'void Object1::func12(int*, int*)':
-test09.cpp:159:24: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:159:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test09.cpp:166:20: warning: Using parameter 'ptr1' without checking for null pointer
+test09.cpp:166:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test09.cpp:167:20: warning: Using parameter 'ptr2' without checking for null pointer
+test09.cpp:167:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
diff --git a/test/test10-03.txt b/test/test10-03.txt
index 53c3e3c..72ddd58 100644
--- a/test/test10-03.txt
+++ b/test/test10-03.txt
@@ -29,7 +29,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func1(int*, int*)':
-test10.cpp:9:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:9:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -46,7 +46,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:13:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:13:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -63,7 +63,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:16:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:16:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -80,7 +80,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:17:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:17:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -125,7 +125,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func2(int*, int*)':
-test10.cpp:24:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:24:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -143,7 +143,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:29:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:29:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -160,7 +160,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:32:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:32:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -177,7 +177,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:33:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:33:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -277,7 +277,7 @@ expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
test10.cpp: In member function 'void Object1::func3(int*, int*)':
-test10.cpp:49:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:49:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr2,
@@ -524,7 +524,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func5(int*, int*)':
-test10.cpp:80:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:80:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -541,7 +541,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:81:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:81:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -685,7 +685,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func7(int*, int*)':
-test10.cpp:104:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:104:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -702,7 +702,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:105:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:105:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -720,7 +720,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:112:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:112:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -737,7 +737,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:113:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:113:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -812,7 +812,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func8(int*, int*)':
-test10.cpp:126:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:126:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -829,7 +829,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:127:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:127:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -903,7 +903,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func9(int*, int*)':
-test10.cpp:139:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:139:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -922,7 +922,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:144:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:144:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -1044,7 +1044,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func10(int*, int*)':
-test10.cpp:162:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:162:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -1061,7 +1061,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:163:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:163:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -1078,7 +1078,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:166:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:166:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
indirect_ref : ptr1, ptr2,
@@ -1095,7 +1095,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:167:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:167:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
indirect_ref : ptr1, ptr2,
@@ -1166,7 +1166,7 @@ expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
test10.cpp: In member function 'void Object1::func11(int*, int*)':
-test10.cpp:175:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:175:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr2,
@@ -1185,7 +1185,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:180:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:180:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -1202,7 +1202,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:181:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:181:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -1219,7 +1219,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:184:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:184:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
indirect_ref : ptr1, ptr2,
@@ -1236,7 +1236,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:185:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:185:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
indirect_ref : ptr1, ptr2,
@@ -1281,7 +1281,7 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test10.cpp: In member function 'void Object1::func12(int*, int*)':
-test10.cpp:192:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:192:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -1298,7 +1298,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test10.cpp:193:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:193:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -1331,7 +1331,7 @@ cleanup_point_expr : ptr2,
expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
-test10.cpp:199:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:199:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr2,
@@ -1362,7 +1362,7 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr2,
convert_expr : ptr2,
modify_expr : ptr2,
-test10.cpp:203:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:203:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
indirect_ref : ptr2,
diff --git a/test/test10-04.txt b/test/test10-04.txt
index c0f2c09..deae246 100644
--- a/test/test10-04.txt
+++ b/test/test10-04.txt
@@ -1,106 +1,106 @@
test10.cpp: In member function 'void Object1::func1(int*, int*)':
-test10.cpp:9:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:9:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test10.cpp:13:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:13:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test10.cpp:16:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:16:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test10.cpp:17:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:17:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test10.cpp: In member function 'void Object1::func2(int*, int*)':
-test10.cpp:24:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:24:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test10.cpp:29:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:29:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test10.cpp:32:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:32:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test10.cpp:33:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:33:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test10.cpp: In member function 'void Object1::func3(int*, int*)':
-test10.cpp:49:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:49:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test10.cpp: In member function 'void Object1::func5(int*, int*)':
-test10.cpp:80:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:80:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test10.cpp:81:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:81:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test10.cpp: In member function 'void Object1::func7(int*, int*)':
-test10.cpp:104:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:104:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test10.cpp:105:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:105:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
-test10.cpp:112:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:112:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test10.cpp:113:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:113:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
test10.cpp: In member function 'void Object1::func8(int*, int*)':
-test10.cpp:126:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:126:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test10.cpp:127:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:127:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
test10.cpp: In member function 'void Object1::func9(int*, int*)':
-test10.cpp:139:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:139:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 100;
^
-test10.cpp:144:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:144:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
test10.cpp: In member function 'void Object1::func10(int*, int*)':
-test10.cpp:162:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:162:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test10.cpp:163:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:163:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test10.cpp:166:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:166:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
-test10.cpp:167:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:167:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
test10.cpp: In member function 'void Object1::func11(int*, int*)':
-test10.cpp:175:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:175:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
-test10.cpp:180:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:180:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test10.cpp:181:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:181:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test10.cpp:184:20: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:184:20: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
-test10.cpp:185:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:185:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
test10.cpp: In member function 'void Object1::func12(int*, int*)':
-test10.cpp:192:24: warning: Using parameter 'ptr1' without checking for null pointer
+test10.cpp:192:24: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test10.cpp:193:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:193:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
-test10.cpp:199:24: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:199:24: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test10.cpp:203:20: warning: Using parameter 'ptr2' without checking for null pointer
+test10.cpp:203:20: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
diff --git a/test/test11-03.txt b/test/test11-03.txt
index 30bf1af..aacfbd4 100644
--- a/test/test11-03.txt
+++ b/test/test11-03.txt
@@ -102,10 +102,10 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test11.cpp: In member function 'void Object1::func2(Data1*, Data1*)':
-test11.cpp:29:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:29:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test11.cpp:29:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:29:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -135,7 +135,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
eq_expr : ptr1, ptr2,
test11.cpp: In member function 'void Object1::func3(Data1*, Data1*)':
-test11.cpp:34:31: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:34:31: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
^
integer_cst 100: ptr1, ptr2,
@@ -159,10 +159,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test11.cpp:39:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:39:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test11.cpp:39:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:39:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -192,7 +192,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
eq_expr : ptr1, ptr2,
test11.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
-test11.cpp:44:32: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:44:32: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
^
integer_cst 100: ptr1, ptr2,
@@ -216,10 +216,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test11.cpp:49:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:49:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test11.cpp:49:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:49:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -392,10 +392,10 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test11.cpp: In member function 'void Object1::func6(Data1*, Data1*)':
-test11.cpp:70:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:70:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test11.cpp:70:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:70:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -415,10 +415,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test11.cpp:71:24: warning: Using parameter 'ptr2' without checking for null pointer
+test11.cpp:71:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 400;
^
-test11.cpp:71:24: warning: Using field 'ptr2' without checking for null pointer
+test11.cpp:71:24: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
diff --git a/test/test11-04.txt b/test/test11-04.txt
index c710a41..8966342 100644
--- a/test/test11-04.txt
+++ b/test/test11-04.txt
@@ -1,30 +1,30 @@
test11.cpp: In member function 'void Object1::func2(Data1*, Data1*)':
-test11.cpp:29:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:29:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test11.cpp:29:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:29:24: warning: Using variable 'ptr1' without checking for null pointer
test11.cpp: In member function 'void Object1::func3(Data1*, Data1*)':
-test11.cpp:34:31: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:34:31: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
^
-test11.cpp:39:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:39:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test11.cpp:39:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:39:24: warning: Using variable 'ptr1' without checking for null pointer
test11.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
-test11.cpp:44:32: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:44:32: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
^
-test11.cpp:49:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:49:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test11.cpp:49:24: warning: Using field 'ptr1' without checking for null pointer
+test11.cpp:49:24: warning: Using variable 'ptr1' without checking for null pointer
test11.cpp: In member function 'void Object1::func6(Data1*, Data1*)':
-test11.cpp:70:24: warning: Using parameter 'ptr1' without checking for null pointer
+test11.cpp:70:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test11.cpp:70:24: warning: Using field 'ptr1' without checking for null pointer
-test11.cpp:71:24: warning: Using parameter 'ptr2' without checking for null pointer
+test11.cpp:70:24: warning: Using variable 'ptr1' without checking for null pointer
+test11.cpp:71:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 400;
^
-test11.cpp:71:24: warning: Using field 'ptr2' without checking for null pointer
+test11.cpp:71:24: warning: Using variable 'ptr2' without checking for null pointer
diff --git a/test/test12-03.txt b/test/test12-03.txt
index 0dfedbb..b0cd214 100644
--- a/test/test12-03.txt
+++ b/test/test12-03.txt
@@ -20,7 +20,7 @@ test12.cpp: In member function 'void Object1::func1(Data1*, Data1*)':
test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
int val1 = ptr1 ? ptr1->val : ptr2->val;
^
-test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -57,7 +57,7 @@ integer_cst 32: ptr2,
integer_cst -2147483648: ptr2,
integer_cst 2147483647: ptr2,
test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -93,7 +93,7 @@ field_decl val: ptr2,
integer_cst 32: ptr2,
integer_type : ptr2,
test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -121,7 +121,7 @@ test12.cpp: In member function 'void Object1::func2(Data1*, Data1*)':
test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
int val1 = (!ptr1) ? ptr1->val : ptr2->val;
^
-test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -129,7 +129,7 @@ field_decl val: ptr1, ptr2,
integer_cst 32: ptr1, ptr2,
integer_type : ptr1, ptr2,
test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr2,
indirect_ref : ptr2,
parm_decl ptr2: ptr2,
@@ -153,7 +153,7 @@ type_decl Data1: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -168,7 +168,7 @@ integer_cst 32: ptr1, ptr2,
integer_cst -2147483648: ptr1, ptr2,
integer_cst 2147483647: ptr1, ptr2,
test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr2,
indirect_ref : ptr2,
parm_decl ptr2: ptr2,
@@ -198,7 +198,7 @@ pointer_type : ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -206,7 +206,7 @@ field_decl val: ptr1, ptr2,
integer_cst 32: ptr1, ptr2,
integer_type : ptr1, ptr2,
test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr2,
indirect_ref : ptr2,
parm_decl ptr2: ptr2,
@@ -243,7 +243,7 @@ test12.cpp: In member function 'void Object1::func3(Data1*, Data1*)':
test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
int val1 = (ptr1 && !ptr2) ? ptr1->val : ptr2->val;
^
-test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -287,7 +287,7 @@ integer_cst 32: ptr2,
integer_cst -2147483648: ptr2,
integer_cst 2147483647: ptr2,
test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -326,7 +326,7 @@ field_decl val: ptr2,
integer_cst 32: ptr2,
integer_type : ptr2,
test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -359,7 +359,7 @@ record_type : ptr2,
type_decl Data1: ptr2,
integer_cst 64: ptr2,
test12.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
-test12.cpp:28:35: warning: Using parameter 'ptr2' without checking for null pointer
+test12.cpp:28:35: warning: Using variable 'ptr2' without checking for null pointer
if ((ptr1 ? ptr1 : ptr2)->val == 100)
^
parm_decl ptr2: ptr1, ptr2,
@@ -379,10 +379,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test12.cpp:30:28: warning: Using parameter 'ptr1' without checking for null pointer
+test12.cpp:30:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test12.cpp:30:28: warning: Using field 'ptr1' without checking for null pointer
+test12.cpp:30:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -402,10 +402,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test12.cpp:34:28: warning: Using parameter 'ptr2' without checking for null pointer
+test12.cpp:34:28: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 300;
^
-test12.cpp:34:28: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:34:28: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -463,7 +463,7 @@ pointer_type : ptr2,
record_type : ptr2,
integer_cst 64: ptr2,
test12.cpp: In member function 'void Object1::func5(Data1*, Data1*)':
-test12.cpp:40:41: warning: Using parameter 'ptr2' without checking for null pointer
+test12.cpp:40:41: warning: Using variable 'ptr2' without checking for null pointer
int tmp = (ptr1 ? ptr1 : ptr2)->val;
^
parm_decl ptr2: ptr1, ptr2,
@@ -651,7 +651,7 @@ test12.cpp: In member function 'void Object1::func7(Data1*, Data1*)':
test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
int tmp = ptr1 ? ptr1->val : (!ptr2 ? ptr2->val : 0);
^
-test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -697,7 +697,7 @@ record_type : ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
@@ -738,7 +738,7 @@ integer_cst 0: ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
diff --git a/test/test12-04.txt b/test/test12-04.txt
index 6f02bd5..ccc6c40 100644
--- a/test/test12-04.txt
+++ b/test/test12-04.txt
@@ -2,57 +2,57 @@ test12.cpp: In member function 'void Object1::func1(Data1*, Data1*)':
test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
int val1 = ptr1 ? ptr1->val : ptr2->val;
^
-test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer
test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer
test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:13:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:13:13: warning: Using variable 'ptr2' without checking for null pointer
test12.cpp: In member function 'void Object1::func2(Data1*, Data1*)':
test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
int val1 = (!ptr1) ? ptr1->val : ptr2->val;
^
-test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer
test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
test12.cpp:18:13: warning: Using variable 'ptr1' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr1' without checking for null pointer
test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:18:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:18:13: warning: Using variable 'ptr2' without checking for null pointer
test12.cpp: In member function 'void Object1::func3(Data1*, Data1*)':
test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
int val1 = (ptr1 && !ptr2) ? ptr1->val : ptr2->val;
^
-test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer
test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer
test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:23:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:23:13: warning: Using variable 'ptr2' without checking for null pointer
test12.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
-test12.cpp:28:35: warning: Using parameter 'ptr2' without checking for null pointer
+test12.cpp:28:35: warning: Using variable 'ptr2' without checking for null pointer
if ((ptr1 ? ptr1 : ptr2)->val == 100)
^
-test12.cpp:30:28: warning: Using parameter 'ptr1' without checking for null pointer
+test12.cpp:30:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test12.cpp:30:28: warning: Using field 'ptr1' without checking for null pointer
-test12.cpp:34:28: warning: Using parameter 'ptr2' without checking for null pointer
+test12.cpp:30:28: warning: Using variable 'ptr1' without checking for null pointer
+test12.cpp:34:28: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 300;
^
-test12.cpp:34:28: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:34:28: warning: Using variable 'ptr2' without checking for null pointer
test12.cpp: In member function 'void Object1::func5(Data1*, Data1*)':
-test12.cpp:40:41: warning: Using parameter 'ptr2' without checking for null pointer
+test12.cpp:40:41: warning: Using variable 'ptr2' without checking for null pointer
int tmp = (ptr1 ? ptr1 : ptr2)->val;
^
test12.cpp: In member function 'void Object1::func7(Data1*, Data1*)':
test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
int tmp = ptr1 ? ptr1->val : (!ptr2 ? ptr2->val : 0);
^
-test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer
test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer
test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
-test12.cpp:50:13: warning: Using field 'ptr2' without checking for null pointer
+test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
+test12.cpp:50:13: warning: Using variable 'ptr2' without checking for null pointer
diff --git a/test/test13-03.txt b/test/test13-03.txt
index fb046cf..1afc37d 100644
--- a/test/test13-03.txt
+++ b/test/test13-03.txt
@@ -1,17 +1,17 @@
test13.c: In function 'func1':
-test13.c:12:8: warning: Using parameter 'b' without checking for null pointer
+test13.c:12:8: warning: Using variable 'b' without checking for null pointer
*b = 100;
^
test13.c: In function 'func2':
-test13.c:17:9: warning: Using parameter 'b' without checking for null pointer
+test13.c:17:9: warning: Using variable 'b' without checking for null pointer
*(1 + b) = 200;
^
test13.c: In function 'func3':
-test13.c:22:9: warning: Using parameter 'b' without checking for null pointer
+test13.c:22:9: warning: Using variable 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
test13.c: In function 'func5':
-test13.c:28:12: warning: Using parameter 'b' without checking for null pointer
+test13.c:28:12: warning: Using variable 'b' without checking for null pointer
*(var1 + b) = 400;
^
test13.c: In function 'func6':
@@ -19,20 +19,20 @@ test13.c:34:11: warning: Using variable 'var2' without checking for null pointer
*var2 = 500;
^
test13.c: In function 'func7':
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
int *var3 = 12 + b;
^
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
test13.c: In function 'func8':
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
int **var4 = &bptr;
^
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
diff --git a/test/test13-05.txt b/test/test13-05.txt
index b9d7d79..24a1b97 100644
--- a/test/test13-05.txt
+++ b/test/test13-05.txt
@@ -2,7 +2,7 @@ function_decl func1:
bind_expr : b,
modify_expr : b,
test13.c: In function 'func1':
-test13.c:12:8: warning: Using parameter 'b' without checking for null pointer
+test13.c:12:8: warning: Using variable 'b' without checking for null pointer
*b = 100;
^
indirect_ref : b,
@@ -22,7 +22,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test13.c: In function 'func2':
-test13.c:17:9: warning: Using parameter 'b' without checking for null pointer
+test13.c:17:9: warning: Using variable 'b' without checking for null pointer
*(1 + b) = 200;
^
parm_decl b: b,
@@ -42,7 +42,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test13.c: In function 'func3':
-test13.c:22:9: warning: Using parameter 'b' without checking for null pointer
+test13.c:22:9: warning: Using variable 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
parm_decl b: b,
@@ -72,7 +72,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test13.c: In function 'func5':
-test13.c:28:12: warning: Using parameter 'b' without checking for null pointer
+test13.c:28:12: warning: Using variable 'b' without checking for null pointer
*(var1 + b) = 400;
^
parm_decl b: b,
@@ -193,7 +193,7 @@ statement_list : b,
decl_expr : b,
pointer_plus_expr : b,
test13.c: In function 'func7':
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
int *var3 = 12 + b;
^
parm_decl b: b,
@@ -204,7 +204,7 @@ integer_cst 48: b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -221,7 +221,7 @@ indirect_ref : b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -237,7 +237,7 @@ integer_cst 600: b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -257,7 +257,7 @@ block : b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -270,7 +270,7 @@ integer_cst 32: b,
integer_cst -2147483648: b,
integer_cst 2147483647: b,
pointer_plus_expr : b,
-test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
+test13.c:39:20: warning: Using variable 'b' without checking for null pointer
parm_decl b: b,
pointer_type : b,
integer_type : b,
@@ -286,7 +286,7 @@ statement_list : bptr,
decl_expr : bptr,
addr_expr : bptr,
test13.c: In function 'func8':
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
int **var4 = &bptr;
^
parm_decl bptr: bptr,
@@ -296,7 +296,7 @@ integer_cst 64: bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -314,7 +314,7 @@ indirect_ref : bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -330,7 +330,7 @@ integer_cst 700: bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -350,7 +350,7 @@ block : bptr,
var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
@@ -363,7 +363,7 @@ integer_cst 32: bptr,
integer_cst -2147483648: bptr,
integer_cst 2147483647: bptr,
addr_expr : bptr,
-test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
+test13.c:45:18: warning: Using variable 'bptr' without checking for null pointer
parm_decl bptr: bptr,
pointer_type : bptr,
integer_type : bptr,
diff --git a/test/test14-03.txt b/test/test14-03.txt
index 88a4c9a..dbf4bb4 100644
--- a/test/test14-03.txt
+++ b/test/test14-03.txt
@@ -1,12 +1,12 @@
test14.c: In function 'func1':
-test14.c:12:8: warning: Using parameter 'a' without checking for null pointer
+test14.c:12:8: warning: Using variable 'a' without checking for null pointer
*a = 100;
^
test14.c: In function 'func5':
-test14.c:45:8: warning: Using parameter 'a' without checking for null pointer
+test14.c:45:8: warning: Using variable 'a' without checking for null pointer
*a = 600;
^
test14.c: In function 'func7':
-test14.c:70:11: warning: Using parameter 'aptr' without checking for null pointer
+test14.c:70:11: warning: Using variable 'aptr' without checking for null pointer
*aptr = 800;
^
diff --git a/test/test14-04.txt b/test/test14-04.txt
index 74fcf5c..96b1c2a 100644
--- a/test/test14-04.txt
+++ b/test/test14-04.txt
@@ -2,7 +2,7 @@ function_decl func1:
bind_expr : a,
modify_expr : a,
test14.c: In function 'func1':
-test14.c:12:8: warning: Using parameter 'a' without checking for null pointer
+test14.c:12:8: warning: Using variable 'a' without checking for null pointer
*a = 100;
^
indirect_ref : a,
@@ -125,7 +125,7 @@ integer_cst 64:
integer_cst 500:
modify_expr : a,
test14.c: In function 'func5':
-test14.c:45:8: warning: Using parameter 'a' without checking for null pointer
+test14.c:45:8: warning: Using variable 'a' without checking for null pointer
*a = 600;
^
indirect_ref : a,
@@ -252,7 +252,7 @@ integer_cst -2147483648: aptr,
integer_cst 2147483647: aptr,
modify_expr : aptr,
test14.c: In function 'func7':
-test14.c:70:11: warning: Using parameter 'aptr' without checking for null pointer
+test14.c:70:11: warning: Using variable 'aptr' without checking for null pointer
*aptr = 800;
^
indirect_ref : aptr,
diff --git a/test/test15-03.txt b/test/test15-03.txt
index ef03e52..f693208 100644
--- a/test/test15-03.txt
+++ b/test/test15-03.txt
@@ -27,7 +27,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func1':
-test15.c:7:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:7:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -41,7 +41,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 400: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:11:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:11:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -55,7 +55,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:13:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:13:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -69,7 +69,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 200: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:14:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:14:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -113,7 +113,7 @@ integer_cst 0: ptr1, ptr2,
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func2':
-test15.c:21:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:21:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -128,7 +128,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 400: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:26:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -142,7 +142,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:29:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:29:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -156,7 +156,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 200: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:30:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:30:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -241,7 +241,7 @@ integer_cst 64: ptr2,
integer_cst 200: ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func3':
-test15.c:46:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:46:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr2,
@@ -456,7 +456,7 @@ integer_cst 64:
integer_cst 100:
modify_expr : ptr1, ptr2,
test15.c: In function 'func5':
-test15.c:77:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:77:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -470,7 +470,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 200: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:78:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:78:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -602,7 +602,7 @@ integer_cst 0: ptr1, ptr2,
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func7':
-test15.c:101:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:101:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -616,7 +616,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:102:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:102:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -631,7 +631,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 200: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:109:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:109:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -645,7 +645,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 300: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:110:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:110:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -713,7 +713,7 @@ return_expr :
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func8':
-test15.c:123:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:123:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -727,7 +727,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 300: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:124:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:124:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -794,7 +794,7 @@ integer_cst 0: ptr1, ptr2,
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func9':
-test15.c:136:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:136:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -810,7 +810,7 @@ integer_cst 100: ptr1, ptr2,
return_expr : ptr1, ptr2,
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:141:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:141:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -912,7 +912,7 @@ return_expr :
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func10':
-test15.c:159:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:159:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -926,7 +926,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 300: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:160:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:160:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -940,7 +940,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 400: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:163:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:163:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
indirect_ref : ptr1, ptr2,
@@ -954,7 +954,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 500: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:164:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:164:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
indirect_ref : ptr1, ptr2,
@@ -1021,7 +1021,7 @@ integer_cst 64: ptr2,
integer_cst 100: ptr2,
modify_expr : ptr2,
test15.c: In function 'func11':
-test15.c:172:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:172:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr2,
@@ -1037,7 +1037,7 @@ integer_cst 200: ptr2,
return_expr : ptr2,
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:177:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:177:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
indirect_ref : ptr1, ptr2,
@@ -1051,7 +1051,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 300: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:178:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:178:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr1, ptr2,
@@ -1065,7 +1065,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 400: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:181:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:181:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
indirect_ref : ptr1, ptr2,
@@ -1079,7 +1079,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 500: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:182:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:182:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
indirect_ref : ptr1, ptr2,
@@ -1123,7 +1123,7 @@ integer_cst 0: ptr1, ptr2,
statement_list : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test15.c: In function 'func12':
-test15.c:189:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:189:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
indirect_ref : ptr1, ptr2,
@@ -1137,7 +1137,7 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test15.c:190:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:190:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
indirect_ref : ptr1, ptr2,
@@ -1164,7 +1164,7 @@ integer_cst 2147483647: ptr2,
integer_cst 64: ptr2,
integer_cst 300: ptr2,
modify_expr : ptr2,
-test15.c:196:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:196:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
indirect_ref : ptr2,
@@ -1189,7 +1189,7 @@ integer_cst 2147483647: ptr2,
integer_cst 64: ptr2,
integer_cst 500: ptr2,
modify_expr : ptr1, ptr2,
-test15.c:200:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:200:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
indirect_ref : ptr2,
diff --git a/test/test15-04.txt b/test/test15-04.txt
index d151ef0..292de8c 100644
--- a/test/test15-04.txt
+++ b/test/test15-04.txt
@@ -1,106 +1,106 @@
test15.c: In function 'func1':
-test15.c:7:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:7:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test15.c:11:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:11:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test15.c:13:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:13:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test15.c:14:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:14:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test15.c: In function 'func2':
-test15.c:21:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:21:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test15.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:26:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test15.c:29:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:29:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test15.c:30:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:30:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test15.c: In function 'func3':
-test15.c:46:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:46:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test15.c: In function 'func5':
-test15.c:77:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:77:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
-test15.c:78:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:78:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 300;
^
test15.c: In function 'func7':
-test15.c:101:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:101:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test15.c:102:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:102:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
-test15.c:109:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:109:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test15.c:110:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:110:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
test15.c: In function 'func8':
-test15.c:123:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:123:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test15.c:124:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:124:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
test15.c: In function 'func9':
-test15.c:136:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:136:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 100;
^
-test15.c:141:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:141:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 200;
^
test15.c: In function 'func10':
-test15.c:159:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:159:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test15.c:160:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:160:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test15.c:163:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:163:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
-test15.c:164:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:164:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
test15.c: In function 'func11':
-test15.c:172:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:172:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
-test15.c:177:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:177:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 300;
^
-test15.c:178:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:178:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test15.c:181:11: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:181:11: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 500;
^
-test15.c:182:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:182:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
test15.c: In function 'func12':
-test15.c:189:15: warning: Using parameter 'ptr1' without checking for null pointer
+test15.c:189:15: warning: Using variable 'ptr1' without checking for null pointer
*ptr1 = 100;
^
-test15.c:190:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:190:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 200;
^
-test15.c:196:15: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:196:15: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 400;
^
-test15.c:200:11: warning: Using parameter 'ptr2' without checking for null pointer
+test15.c:200:11: warning: Using variable 'ptr2' without checking for null pointer
*ptr2 = 600;
^
diff --git a/test/test16-03.txt b/test/test16-03.txt
index a5741b7..96a1456 100644
--- a/test/test16-03.txt
+++ b/test/test16-03.txt
@@ -96,10 +96,10 @@ integer_cst 200: ptr2,
return_expr : ptr2,
modify_expr : ptr1, ptr2,
test16.c: In function 'func2':
-test16.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:26:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test16.c:26:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:26:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -131,7 +131,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
eq_expr : ptr1, ptr2,
test16.c: In function 'func3':
-test16.c:31:27: warning: Using field 'ptr1' without checking for null pointer
+test16.c:31:27: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
^
integer_cst 100: ptr1, ptr2,
@@ -152,10 +152,10 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test16.c:36:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:36:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test16.c:36:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:36:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -187,7 +187,7 @@ integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
eq_expr : ptr1, ptr2,
test16.c: In function 'func4':
-test16.c:41:28: warning: Using field 'ptr1' without checking for null pointer
+test16.c:41:28: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
^
integer_cst 100: ptr1, ptr2,
@@ -208,10 +208,10 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test16.c:46:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:46:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test16.c:46:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:46:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -379,10 +379,10 @@ integer_cst 200: ptr1,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test16.c: In function 'func6':
-test16.c:67:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:67:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test16.c:67:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:67:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -399,10 +399,10 @@ integer_cst -2147483648: ptr1, ptr2,
integer_cst 2147483647: ptr1, ptr2,
integer_cst 300: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test16.c:68:15: warning: Using parameter 'ptr2' without checking for null pointer
+test16.c:68:15: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 400;
^
-test16.c:68:15: warning: Using field 'ptr2' without checking for null pointer
+test16.c:68:15: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
diff --git a/test/test16-04.txt b/test/test16-04.txt
index 268d81f..1890774 100644
--- a/test/test16-04.txt
+++ b/test/test16-04.txt
@@ -1,30 +1,30 @@
test16.c: In function 'func2':
-test16.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:26:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test16.c:26:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:26:15: warning: Using variable 'ptr1' without checking for null pointer
test16.c: In function 'func3':
-test16.c:31:27: warning: Using field 'ptr1' without checking for null pointer
+test16.c:31:27: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
^
-test16.c:36:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:36:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test16.c:36:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:36:15: warning: Using variable 'ptr1' without checking for null pointer
test16.c: In function 'func4':
-test16.c:41:28: warning: Using field 'ptr1' without checking for null pointer
+test16.c:41:28: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
^
-test16.c:46:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:46:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test16.c:46:15: warning: Using field 'ptr1' without checking for null pointer
+test16.c:46:15: warning: Using variable 'ptr1' without checking for null pointer
test16.c: In function 'func6':
-test16.c:67:15: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:67:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test16.c:67:15: warning: Using field 'ptr1' without checking for null pointer
-test16.c:68:15: warning: Using parameter 'ptr2' without checking for null pointer
+test16.c:67:15: warning: Using variable 'ptr1' without checking for null pointer
+test16.c:68:15: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 400;
^
-test16.c:68:15: warning: Using field 'ptr2' without checking for null pointer
+test16.c:68:15: warning: Using variable 'ptr2' without checking for null pointer
diff --git a/test/test17-03.txt b/test/test17-03.txt
index 6c845ab..521460a 100644
--- a/test/test17-03.txt
+++ b/test/test17-03.txt
@@ -66,10 +66,10 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 32: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test17.c:20:15: warning: Using parameter 'ptr1' without checking for null pointer
+test17.c:20:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test17.c:20:15: warning: Using field 'ptr1' without checking for null pointer
+test17.c:20:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -125,10 +125,10 @@ integer_cst 2147483647: ptr2,
integer_cst 32: ptr2,
integer_cst 0: ptr2,
modify_expr : ptr1, ptr2,
-test17.c:28:15: warning: Using parameter 'ptr1' without checking for null pointer
+test17.c:28:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test17.c:28:15: warning: Using field 'ptr1' without checking for null pointer
+test17.c:28:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -181,10 +181,10 @@ integer_cst 0: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test17.c: In function 'func4':
-test17.c:40:15: warning: Using parameter 'ptr1' without checking for null pointer
+test17.c:40:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test17.c:40:15: warning: Using field 'ptr1' without checking for null pointer
+test17.c:40:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
diff --git a/test/test17-04.txt b/test/test17-04.txt
index 162a307..e89fdaa 100644
--- a/test/test17-04.txt
+++ b/test/test17-04.txt
@@ -2,20 +2,20 @@ test17.c: In function 'func2':
test17.c:18:14: warning: comparison between pointer and integer
if (ptr1 == (123, 0))
^
-test17.c:20:15: warning: Using parameter 'ptr1' without checking for null pointer
+test17.c:20:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test17.c:20:15: warning: Using field 'ptr1' without checking for null pointer
+test17.c:20:15: warning: Using variable 'ptr1' without checking for null pointer
test17.c: In function 'func3':
test17.c:26:14: warning: comparison between pointer and integer
if (ptr1 != (123, 0))
^
-test17.c:28:15: warning: Using parameter 'ptr1' without checking for null pointer
+test17.c:28:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test17.c:28:15: warning: Using field 'ptr1' without checking for null pointer
+test17.c:28:15: warning: Using variable 'ptr1' without checking for null pointer
test17.c: In function 'func4':
-test17.c:40:15: warning: Using parameter 'ptr1' without checking for null pointer
+test17.c:40:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test17.c:40:15: warning: Using field 'ptr1' without checking for null pointer
+test17.c:40:15: warning: Using variable 'ptr1' without checking for null pointer
diff --git a/test/test18-03.txt b/test/test18-03.txt
index 9573ffd..92b8026 100644
--- a/test/test18-03.txt
+++ b/test/test18-03.txt
@@ -114,10 +114,10 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test18.cpp: In function 'int func3(Data1*, Data1*)':
-test18.cpp:28:20: warning: Using parameter 'ptr1' without checking for null pointer
+test18.cpp:28:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test18.cpp:28:20: warning: Using field 'ptr1' without checking for null pointer
+test18.cpp:28:20: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -171,10 +171,10 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test18.cpp: In function 'void func4(Data1*, Data1*)':
-test18.cpp:40:20: warning: Using parameter 'ptr1' without checking for null pointer
+test18.cpp:40:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test18.cpp:40:20: warning: Using field 'ptr1' without checking for null pointer
+test18.cpp:40:20: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
diff --git a/test/test18-04.txt b/test/test18-04.txt
index d02a600..cf8c233 100644
--- a/test/test18-04.txt
+++ b/test/test18-04.txt
@@ -1,10 +1,10 @@
test18.cpp: In function 'int func3(Data1*, Data1*)':
-test18.cpp:28:20: warning: Using parameter 'ptr1' without checking for null pointer
+test18.cpp:28:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test18.cpp:28:20: warning: Using field 'ptr1' without checking for null pointer
+test18.cpp:28:20: warning: Using variable 'ptr1' without checking for null pointer
test18.cpp: In function 'void func4(Data1*, Data1*)':
-test18.cpp:40:20: warning: Using parameter 'ptr1' without checking for null pointer
+test18.cpp:40:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test18.cpp:40:20: warning: Using field 'ptr1' without checking for null pointer
+test18.cpp:40:20: warning: Using variable 'ptr1' without checking for null pointer
diff --git a/test/test19-03.txt b/test/test19-03.txt
index 916e041..9756bea 100644
--- a/test/test19-03.txt
+++ b/test/test19-03.txt
@@ -54,7 +54,7 @@ test19.cpp: In function 'int func2(Data1*, Data1*)':
test19.cpp:16:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test19.cpp:16:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:16:20: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
@@ -424,7 +424,7 @@ test19.cpp: In function 'int func6(Data1*, Data1*)':
test19.cpp:52:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test19.cpp:52:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:52:20: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
@@ -535,10 +535,10 @@ expr_stmt : ptr1, ptr2, ptr3,
convert_expr : ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
test19.cpp: In function 'int func7(Data1*, Data1*)':
-test19.cpp:66:20: warning: Using parameter 'ptr1' without checking for null pointer
+test19.cpp:66:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test19.cpp:66:20: warning: Using field 'ptr1' without checking for null pointer
+test19.cpp:66:20: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -561,7 +561,7 @@ modify_expr : ptr1, ptr2, ptr3,
test19.cpp:67:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test19.cpp:67:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:67:20: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
@@ -676,10 +676,10 @@ expr_stmt : ptr1, ptr2, ptr3,
convert_expr : ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
test19.cpp: In function 'int func8(Data1*, Data1*)':
-test19.cpp:81:20: warning: Using parameter 'ptr1' without checking for null pointer
+test19.cpp:81:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test19.cpp:81:20: warning: Using field 'ptr1' without checking for null pointer
+test19.cpp:81:20: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -702,7 +702,7 @@ modify_expr : ptr1, ptr2, ptr3,
test19.cpp:82:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test19.cpp:82:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:82:20: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
diff --git a/test/test19-04.txt b/test/test19-04.txt
index c2de4e8..7cc5286 100644
--- a/test/test19-04.txt
+++ b/test/test19-04.txt
@@ -2,7 +2,7 @@ test19.cpp: In function 'int func2(Data1*, Data1*)':
test19.cpp:16:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test19.cpp:16:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:16:20: warning: Using variable 'ptr3' without checking for null pointer
test19.cpp: In function 'int func4(Data1*, Data1*)':
test19.cpp:31:15: warning: Useless variable check 'ptr1'. It already was checked before
else if (!ptr1 && ptr2)
@@ -11,22 +11,22 @@ test19.cpp: In function 'int func6(Data1*, Data1*)':
test19.cpp:52:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test19.cpp:52:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:52:20: warning: Using variable 'ptr3' without checking for null pointer
test19.cpp: In function 'int func7(Data1*, Data1*)':
-test19.cpp:66:20: warning: Using parameter 'ptr1' without checking for null pointer
+test19.cpp:66:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test19.cpp:66:20: warning: Using field 'ptr1' without checking for null pointer
+test19.cpp:66:20: warning: Using variable 'ptr1' without checking for null pointer
test19.cpp:67:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test19.cpp:67:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:67:20: warning: Using variable 'ptr3' without checking for null pointer
test19.cpp: In function 'int func8(Data1*, Data1*)':
-test19.cpp:81:20: warning: Using parameter 'ptr1' without checking for null pointer
+test19.cpp:81:20: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test19.cpp:81:20: warning: Using field 'ptr1' without checking for null pointer
+test19.cpp:81:20: warning: Using variable 'ptr1' without checking for null pointer
test19.cpp:82:20: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test19.cpp:82:20: warning: Using field 'ptr3' without checking for null pointer
+test19.cpp:82:20: warning: Using variable 'ptr3' without checking for null pointer
diff --git a/test/test20-03.txt b/test/test20-03.txt
index cb9b2bb..1b1c36d 100644
--- a/test/test20-03.txt
+++ b/test/test20-03.txt
@@ -51,7 +51,7 @@ test20.c: In function 'func2':
test20.c:16:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test20.c:16:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:16:15: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
@@ -406,7 +406,7 @@ test20.c: In function 'func6':
test20.c:52:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test20.c:52:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:52:15: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
@@ -514,10 +514,10 @@ record_type : ptr1, ptr2, ptr3,
identifier_node Data1: ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
test20.c: In function 'func7':
-test20.c:66:15: warning: Using parameter 'ptr1' without checking for null pointer
+test20.c:66:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test20.c:66:15: warning: Using field 'ptr1' without checking for null pointer
+test20.c:66:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -537,7 +537,7 @@ modify_expr : ptr1, ptr2, ptr3,
test20.c:67:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test20.c:67:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:67:15: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
@@ -649,10 +649,10 @@ record_type : ptr1, ptr2, ptr3,
identifier_node Data1: ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
test20.c: In function 'func8':
-test20.c:81:15: warning: Using parameter 'ptr1' without checking for null pointer
+test20.c:81:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test20.c:81:15: warning: Using field 'ptr1' without checking for null pointer
+test20.c:81:15: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -672,7 +672,7 @@ modify_expr : ptr1, ptr2, ptr3,
test20.c:82:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test20.c:82:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:82:15: warning: Using variable 'ptr3' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr3: ptr1, ptr2, ptr3,
diff --git a/test/test20-04.txt b/test/test20-04.txt
index 461b79d..1955f7a 100644
--- a/test/test20-04.txt
+++ b/test/test20-04.txt
@@ -2,7 +2,7 @@ test20.c: In function 'func2':
test20.c:16:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test20.c:16:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:16:15: warning: Using variable 'ptr3' without checking for null pointer
test20.c: In function 'func4':
test20.c:31:14: warning: Useless variable check 'ptr1'. It already was checked before
else if (!ptr1 && ptr2)
@@ -11,22 +11,22 @@ test20.c: In function 'func6':
test20.c:52:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 100;
^
-test20.c:52:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:52:15: warning: Using variable 'ptr3' without checking for null pointer
test20.c: In function 'func7':
-test20.c:66:15: warning: Using parameter 'ptr1' without checking for null pointer
+test20.c:66:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test20.c:66:15: warning: Using field 'ptr1' without checking for null pointer
+test20.c:66:15: warning: Using variable 'ptr1' without checking for null pointer
test20.c:67:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test20.c:67:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:67:15: warning: Using variable 'ptr3' without checking for null pointer
test20.c: In function 'func8':
-test20.c:81:15: warning: Using parameter 'ptr1' without checking for null pointer
+test20.c:81:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test20.c:81:15: warning: Using field 'ptr1' without checking for null pointer
+test20.c:81:15: warning: Using variable 'ptr1' without checking for null pointer
test20.c:82:15: warning: Using variable 'ptr3' without checking for null pointer
ptr3->val = 200;
^
-test20.c:82:15: warning: Using field 'ptr3' without checking for null pointer
+test20.c:82:15: warning: Using variable 'ptr3' without checking for null pointer
diff --git a/test/test22-03.txt b/test/test22-03.txt
index 8f47093..f61d95d 100644
--- a/test/test22-03.txt
+++ b/test/test22-03.txt
@@ -9470,7 +9470,7 @@ bind_expr : ptr1,
decl_expr : ptr1,
pointer_plus_expr : ptr1,
test22.cpp: In member function 'int Object1::func2(Data1*)':
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
Data1* ptr2 = ptr1 + 1;
^
parm_decl ptr1: ptr1,
@@ -9480,7 +9480,7 @@ integer_cst 40: ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
pointer_plus_expr : ptr1,
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
integer_cst 64: ptr1,
@@ -9491,7 +9491,7 @@ type_decl Data1: ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
pointer_plus_expr : ptr1,
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9505,7 +9505,7 @@ block : ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
pointer_plus_expr : ptr1,
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
integer_cst 64: ptr1,
@@ -9514,7 +9514,7 @@ pointer_type : ptr1,
record_type : ptr1,
type_decl Data1: ptr1,
pointer_plus_expr : ptr1,
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9527,7 +9527,7 @@ statement_list : ptr1,
decl_expr : ptr1,
addr_expr : ptr1,
test22.cpp: In member function 'int Object1::func3(Data1*)':
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
Data1** ptr2 = &ptr1;
^
parm_decl ptr1: ptr1,
@@ -9537,7 +9537,7 @@ integer_cst 64: ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
addr_expr : ptr1,
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9556,7 +9556,7 @@ indirect_ref : ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
addr_expr : ptr1,
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9576,7 +9576,7 @@ integer_cst 10: ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
addr_expr : ptr1,
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9590,7 +9590,7 @@ block : ptr1,
var_decl ptr2: ptr1,
integer_cst 64: ptr1,
addr_expr : ptr1,
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9600,7 +9600,7 @@ pointer_type : ptr1,
record_type : ptr1,
type_decl Data1: ptr1,
addr_expr : ptr1,
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: ptr1,
pointer_type : ptr1,
record_type : ptr1,
@@ -9615,7 +9615,7 @@ call_expr : ptr1,
addr_expr : ptr1,
function_decl ftest1: ptr1,
test22.cpp: In member function 'void Object1::func4(Data1*)':
-test22.cpp:56:25: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:56:25: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->ftest1() == 100)
^
parm_decl ptr1: ptr1,
diff --git a/test/test22-04.txt b/test/test22-04.txt
index a56fd28..cf9f022 100644
--- a/test/test22-04.txt
+++ b/test/test22-04.txt
@@ -1,21 +1,21 @@
test22.cpp: In member function 'int Object1::func2(Data1*)':
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
Data1* ptr2 = ptr1 + 1;
^
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp: In member function 'int Object1::func3(Data1*)':
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
Data1** ptr2 = &ptr1;
^
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp: In member function 'void Object1::func4(Data1*)':
-test22.cpp:56:25: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:56:25: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->ftest1() == 100)
^
diff --git a/test/test22-05.txt b/test/test22-05.txt
index a56fd28..cf9f022 100644
--- a/test/test22-05.txt
+++ b/test/test22-05.txt
@@ -1,21 +1,21 @@
test22.cpp: In member function 'int Object1::func2(Data1*)':
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
Data1* ptr2 = ptr1 + 1;
^
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:45:28: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp: In member function 'int Object1::func3(Data1*)':
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
Data1** ptr2 = &ptr1;
^
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
-test22.cpp:50:17: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
+test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp: In member function 'void Object1::func4(Data1*)':
-test22.cpp:56:25: warning: Using parameter 'ptr1' without checking for null pointer
+test22.cpp:56:25: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->ftest1() == 100)
^
diff --git a/test/test23-03.txt b/test/test23-03.txt
index 92852f4..0ad947f 100644
--- a/test/test23-03.txt
+++ b/test/test23-03.txt
@@ -9698,7 +9698,7 @@ call_expr : ptr1, this->dataptr,
addr_expr : ptr1, this->dataptr,
function_decl ftest1: ptr1, this->dataptr,
test23.cpp: In member function 'void Object1::func3(Data1*)':
-test23.cpp:81:25: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:81:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ftest1();
^
parm_decl ptr1: ptr1, this->dataptr,
@@ -9820,7 +9820,7 @@ call_expr : ptr1, this->dataptr,
addr_expr : ptr1, this->dataptr,
function_decl ftest1: ptr1, this->dataptr,
test23.cpp: In member function 'void Object1::func5(Data1*)':
-test23.cpp:99:25: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:99:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ftest1();
^
parm_decl ptr1: ptr1, this->dataptr,
@@ -9843,7 +9843,7 @@ void_type : ptr1,
type_decl void: ptr1,
integer_cst 64: ptr1,
test23.cpp: In member function 'void Object1::func6(FuncPtr1)':
-test23.cpp:105:13: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:105:13: warning: Using variable 'ptr1' without checking for null pointer
ptr1();
^
function_decl func7:
@@ -10013,7 +10013,7 @@ pointer_plus_expr : ptr1,
indirect_ref : ptr1,
pointer_plus_expr : ptr1,
test23.cpp: In member function 'void Object1::func8(Data1*)':
-test23.cpp:117:28: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:117:28: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr1);
^
parm_decl ptr1: ptr1,
@@ -10089,7 +10089,7 @@ pointer_type : ptr1,
tree_list : ptr1,
integer_cst -1: ptr1,
pointer_plus_expr : ptr1,
-test23.cpp:117:23: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:117:23: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr1);
^
parm_decl ptr1: ptr1,
@@ -10316,7 +10316,7 @@ pointer_plus_expr : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
pointer_plus_expr : ptr1, ptr2,
test23.cpp: In member function 'void Object1::func10(Data1*, Data1*)':
-test23.cpp:128:28: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:128:28: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr2);
^
parm_decl ptr1: ptr1, ptr2,
@@ -10392,7 +10392,7 @@ pointer_type : ptr1, ptr2,
tree_list : ptr1, ptr2,
integer_cst -1: ptr1, ptr2,
pointer_plus_expr : ptr1, ptr2,
-test23.cpp:128:23: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:128:23: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr2);
^
parm_decl ptr1: ptr1, ptr2,
diff --git a/test/test23-04.txt b/test/test23-04.txt
index 87509cc..467f988 100644
--- a/test/test23-04.txt
+++ b/test/test23-04.txt
@@ -5,28 +5,28 @@ test23.cpp:55:24: warning: Using variable 'this->dataptr' without checking for n
test23.cpp: In constructor 'Object1::Object1(Data1*)':
test23.cpp:55:24: warning: Using variable 'this->dataptr' without checking for null pointer
test23.cpp: In member function 'void Object1::func3(Data1*)':
-test23.cpp:81:25: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:81:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ftest1();
^
test23.cpp: In member function 'void Object1::func5(Data1*)':
-test23.cpp:99:25: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:99:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ftest1();
^
test23.cpp: In member function 'void Object1::func6(FuncPtr1)':
-test23.cpp:105:13: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:105:13: warning: Using variable 'ptr1' without checking for null pointer
ptr1();
^
test23.cpp: In member function 'void Object1::func8(Data1*)':
-test23.cpp:117:28: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:117:28: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr1);
^
-test23.cpp:117:23: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:117:23: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr1);
^
test23.cpp: In member function 'void Object1::func10(Data1*, Data1*)':
-test23.cpp:128:28: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:128:28: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr2);
^
-test23.cpp:128:23: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:128:23: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr2);
^
diff --git a/test/test23-05.txt b/test/test23-05.txt
index 87509cc..467f988 100644
--- a/test/test23-05.txt
+++ b/test/test23-05.txt
@@ -5,28 +5,28 @@ test23.cpp:55:24: warning: Using variable 'this->dataptr' without checking for n
test23.cpp: In constructor 'Object1::Object1(Data1*)':
test23.cpp:55:24: warning: Using variable 'this->dataptr' without checking for null pointer
test23.cpp: In member function 'void Object1::func3(Data1*)':
-test23.cpp:81:25: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:81:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ftest1();
^
test23.cpp: In member function 'void Object1::func5(Data1*)':
-test23.cpp:99:25: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:99:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ftest1();
^
test23.cpp: In member function 'void Object1::func6(FuncPtr1)':
-test23.cpp:105:13: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:105:13: warning: Using variable 'ptr1' without checking for null pointer
ptr1();
^
test23.cpp: In member function 'void Object1::func8(Data1*)':
-test23.cpp:117:28: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:117:28: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr1);
^
-test23.cpp:117:23: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:117:23: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr1);
^
test23.cpp: In member function 'void Object1::func10(Data1*, Data1*)':
-test23.cpp:128:28: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:128:28: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr2);
^
-test23.cpp:128:23: warning: Using parameter 'ptr1' without checking for null pointer
+test23.cpp:128:23: warning: Using variable 'ptr1' without checking for null pointer
(ptr1->*fptr2)(ptr2);
^
diff --git a/test/test24-03.txt b/test/test24-03.txt
index bdc7f62..c4eae7f 100644
--- a/test/test24-03.txt
+++ b/test/test24-03.txt
@@ -42,7 +42,7 @@ void_type : ptr1,
type_decl void: ptr1,
integer_cst 64: ptr1,
test24.c: In function 'func1':
-test24.c:33:5: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:33:5: warning: Using variable 'ptr1' without checking for null pointer
ptr1();
^
block : ptr1,
@@ -244,7 +244,7 @@ integer_cst 2: data, ptr1,
integer_cst 1: data, ptr1,
test24.c:58:5: warning: Using variable 'data' without checking for null pointer
test24.c:58:5: warning: Using variable 'data->fptr2' without checking for null pointer
-test24.c:58:5: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:58:5: warning: Using variable 'ptr1' without checking for null pointer
parm_decl ptr1: data, ptr1,
pointer_type : data, ptr1,
record_type : data, ptr1,
@@ -274,7 +274,7 @@ call_expr : data, ptr1,
indirect_ref : data, ptr1,
pointer_plus_expr : data, ptr1,
test24.c: In function 'func6':
-test24.c:64:11: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:64:11: warning: Using variable 'ptr1' without checking for null pointer
(*ptr1[1])(data);
^
parm_decl ptr1: data, ptr1,
@@ -403,7 +403,7 @@ integer_cst 32: w1, w2,
integer_cst -2147483648: w1, w2,
integer_cst 2147483647: w1, w2,
test24.c: In function 'func7':
-test24.c:80:13: warning: Using parameter 'w1' without checking for null pointer
+test24.c:80:13: warning: Using variable 'w1' without checking for null pointer
if ((*fptr[i])(w1,w2))
^
parm_decl w1: w1, w2,
@@ -531,7 +531,7 @@ call_expr : fptr,
indirect_ref : fptr,
pointer_plus_expr : fptr,
test24.c: In function 'func8':
-test24.c:87:9: warning: Using parameter 'fptr' without checking for null pointer
+test24.c:87:9: warning: Using variable 'fptr' without checking for null pointer
fptr[1]("", "");
^
parm_decl fptr: fptr,
diff --git a/test/test24-04.txt b/test/test24-04.txt
index 542d5d4..09e328f 100644
--- a/test/test24-04.txt
+++ b/test/test24-04.txt
@@ -1,5 +1,5 @@
test24.c: In function 'func1':
-test24.c:33:5: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:33:5: warning: Using variable 'ptr1' without checking for null pointer
ptr1();
^
test24.c: In function 'func3':
@@ -19,19 +19,19 @@ test24.c:58:5: warning: Using variable 'data' without checking for null pointer
test24.c:58:5: warning: Using variable 'data->fptr2' without checking for null pointer
test24.c:58:5: warning: Using variable 'data' without checking for null pointer
test24.c:58:5: warning: Using variable 'data->fptr2' without checking for null pointer
-test24.c:58:5: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:58:5: warning: Using variable 'ptr1' without checking for null pointer
test24.c: In function 'func6':
-test24.c:64:11: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:64:11: warning: Using variable 'ptr1' without checking for null pointer
(*ptr1[1])(data);
^
test24.c:64:5: warning: Using variable 'data' without checking for null pointer
(*ptr1[1])(data);
^
test24.c: In function 'func7':
-test24.c:80:13: warning: Using parameter 'w1' without checking for null pointer
+test24.c:80:13: warning: Using variable 'w1' without checking for null pointer
if ((*fptr[i])(w1,w2))
^
test24.c: In function 'func8':
-test24.c:87:9: warning: Using parameter 'fptr' without checking for null pointer
+test24.c:87:9: warning: Using variable 'fptr' without checking for null pointer
fptr[1]("", "");
^
diff --git a/test/test24-05.txt b/test/test24-05.txt
index 542d5d4..09e328f 100644
--- a/test/test24-05.txt
+++ b/test/test24-05.txt
@@ -1,5 +1,5 @@
test24.c: In function 'func1':
-test24.c:33:5: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:33:5: warning: Using variable 'ptr1' without checking for null pointer
ptr1();
^
test24.c: In function 'func3':
@@ -19,19 +19,19 @@ test24.c:58:5: warning: Using variable 'data' without checking for null pointer
test24.c:58:5: warning: Using variable 'data->fptr2' without checking for null pointer
test24.c:58:5: warning: Using variable 'data' without checking for null pointer
test24.c:58:5: warning: Using variable 'data->fptr2' without checking for null pointer
-test24.c:58:5: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:58:5: warning: Using variable 'ptr1' without checking for null pointer
test24.c: In function 'func6':
-test24.c:64:11: warning: Using parameter 'ptr1' without checking for null pointer
+test24.c:64:11: warning: Using variable 'ptr1' without checking for null pointer
(*ptr1[1])(data);
^
test24.c:64:5: warning: Using variable 'data' without checking for null pointer
(*ptr1[1])(data);
^
test24.c: In function 'func7':
-test24.c:80:13: warning: Using parameter 'w1' without checking for null pointer
+test24.c:80:13: warning: Using variable 'w1' without checking for null pointer
if ((*fptr[i])(w1,w2))
^
test24.c: In function 'func8':
-test24.c:87:9: warning: Using parameter 'fptr' without checking for null pointer
+test24.c:87:9: warning: Using variable 'fptr' without checking for null pointer
fptr[1]("", "");
^
diff --git a/test/test27-03.txt b/test/test27-03.txt
index 25b545d..b971bf2 100644
--- a/test/test27-03.txt
+++ b/test/test27-03.txt
@@ -401,10 +401,10 @@ expr_stmt : ptr1, this->tmp1,
convert_expr : ptr1, this->tmp1,
modify_expr : ptr1, this->tmp1,
test27.cpp: In member function 'void Object1::func1(Data1*)':
-test27.cpp:55:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:55:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:55:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:55:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, this->tmp1,
indirect_ref : ptr1, this->tmp1,
parm_decl ptr1: ptr1, this->tmp1,
@@ -453,10 +453,10 @@ cleanup_point_expr : ptr1, this->tmp1,
expr_stmt : ptr1, this->tmp1,
convert_expr : ptr1, this->tmp1,
modify_expr : ptr1, this->tmp1,
-test27.cpp:58:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:58:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:58:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:58:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, this->tmp1,
indirect_ref : ptr1, this->tmp1,
parm_decl ptr1: ptr1, this->tmp1,
@@ -646,10 +646,10 @@ expr_stmt : ptr1, this->tmp1, this->tmp2,
convert_expr : ptr1, this->tmp1, this->tmp2,
modify_expr : ptr1, this->tmp1, this->tmp2,
test27.cpp: In member function 'void Object1::func2(Data1*)':
-test27.cpp:74:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:74:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:74:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:74:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, this->tmp1, this->tmp2,
indirect_ref : ptr1, this->tmp1, this->tmp2,
parm_decl ptr1: ptr1, this->tmp1, this->tmp2,
@@ -727,10 +727,10 @@ cleanup_point_expr : ptr1, this->tmp1, this->tmp2,
expr_stmt : ptr1, this->tmp1, this->tmp2,
convert_expr : ptr1, this->tmp1, this->tmp2,
modify_expr : ptr1, this->tmp1, this->tmp2,
-test27.cpp:78:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:78:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 700;
^
-test27.cpp:78:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:78:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, this->tmp1, this->tmp2,
indirect_ref : ptr1, this->tmp1, this->tmp2,
parm_decl ptr1: ptr1, this->tmp1, this->tmp2,
@@ -928,10 +928,10 @@ expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
test27.cpp: In member function 'void Object1::func3(Data1*)':
-test27.cpp:108:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:108:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:108:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:108:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -1078,7 +1078,7 @@ modify_expr : ptr1, ptr2,
test27.cpp:132:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:132:24: warning: Using field 'ptr2' without checking for null pointer
+test27.cpp:132:24: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
var_decl ptr2: ptr1, ptr2,
@@ -1163,10 +1163,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test27.cpp:146:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:146:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:146:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:146:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -1296,10 +1296,10 @@ cleanup_point_expr : ptr1, ptr2,
expr_stmt : ptr1, ptr2,
convert_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-test27.cpp:170:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:170:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:170:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:170:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
@@ -1454,10 +1454,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test27.cpp: In member function 'void Object1::func4(Data1*)':
-test27.cpp:192:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:192:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:192:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:192:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -1504,10 +1504,10 @@ cleanup_point_expr : ptr1, ptr2, this->tmp1,
expr_stmt : ptr1, ptr2, this->tmp1,
convert_expr : ptr1, ptr2, this->tmp1,
modify_expr : ptr1, ptr2, this->tmp1,
-test27.cpp:197:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:197:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:197:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:197:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, this->tmp1,
indirect_ref : ptr1, ptr2, this->tmp1,
parm_decl ptr1: ptr1, ptr2, this->tmp1,
@@ -1556,10 +1556,10 @@ cleanup_point_expr : ptr1, ptr2, this->tmp1,
expr_stmt : ptr1, ptr2, this->tmp1,
convert_expr : ptr1, ptr2, this->tmp1,
modify_expr : ptr1, ptr2, this->tmp1,
-test27.cpp:200:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:200:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:200:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:200:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, this->tmp1,
indirect_ref : ptr1, ptr2, this->tmp1,
parm_decl ptr1: ptr1, ptr2, this->tmp1,
@@ -1629,10 +1629,10 @@ expr_stmt : ptr1, ptr2, ptr3,
convert_expr : ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
test27.cpp: In member function 'void Object1::func5(Data1*, Data1*)':
-test27.cpp:207:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:207:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:207:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:207:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -1669,7 +1669,7 @@ modify_expr : ptr1, ptr2, ptr3,
test27.cpp:209:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:209:24: warning: Using field 'ptr2' without checking for null pointer
+test27.cpp:209:24: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
var_decl ptr2: ptr1, ptr2, ptr3,
@@ -1698,10 +1698,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3,
expr_stmt : ptr1, ptr2, ptr3,
convert_expr : ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
-test27.cpp:212:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:212:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:212:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:212:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -1735,10 +1735,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3,
expr_stmt : ptr1, ptr2, ptr3,
convert_expr : ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
-test27.cpp:215:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:215:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:215:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:215:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -1772,10 +1772,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3,
expr_stmt : ptr1, ptr2, ptr3,
convert_expr : ptr1, ptr2, ptr3,
modify_expr : ptr1, ptr2, ptr3,
-test27.cpp:217:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:217:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:217:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:217:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3,
indirect_ref : ptr1, ptr2, ptr3,
parm_decl ptr1: ptr1, ptr2, ptr3,
@@ -1809,10 +1809,10 @@ expr_stmt : ptr1, ptr3,
convert_expr : ptr1, ptr3,
modify_expr : ptr1, ptr3,
test27.cpp: In member function 'void Object1::func6(Data1*, Data1*)':
-test27.cpp:222:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:222:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:222:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:222:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr3,
indirect_ref : ptr1, ptr3,
parm_decl ptr1: ptr1, ptr3,
@@ -1924,10 +1924,10 @@ cleanup_point_expr : ptr1, ptr3,
expr_stmt : ptr1, ptr3,
convert_expr : ptr1, ptr3,
modify_expr : ptr1, ptr3,
-test27.cpp:230:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:230:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:230:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:230:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr3,
indirect_ref : ptr1, ptr3,
parm_decl ptr1: ptr1, ptr3,
@@ -1968,7 +1968,7 @@ cleanup_point_expr : ptr1, ptr3,
expr_stmt : ptr3,
convert_expr : ptr3,
modify_expr : ptr3,
-test27.cpp:232:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:232:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
component_ref : ptr3,
@@ -2021,10 +2021,10 @@ expr_stmt : ptr1, ptr2, ptr3, this->tmp1,
convert_expr : ptr1, ptr2, ptr3, this->tmp1,
modify_expr : ptr1, ptr2, ptr3, this->tmp1,
test27.cpp: In member function 'void Object1::func7(Data1*, Data1*)':
-test27.cpp:239:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:239:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:239:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:239:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
parm_decl ptr1: ptr1, ptr2, ptr3, this->tmp1,
@@ -2061,7 +2061,7 @@ modify_expr : ptr1, ptr2, ptr3, this->tmp1,
test27.cpp:241:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:241:24: warning: Using field 'ptr2' without checking for null pointer
+test27.cpp:241:24: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
var_decl ptr2: ptr1, ptr2, ptr3, this->tmp1,
@@ -2090,10 +2090,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3, this->tmp1,
expr_stmt : ptr1, ptr2, ptr3, this->tmp1,
convert_expr : ptr1, ptr2, ptr3, this->tmp1,
modify_expr : ptr1, ptr2, ptr3, this->tmp1,
-test27.cpp:244:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:244:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:244:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:244:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
parm_decl ptr1: ptr1, ptr2, ptr3, this->tmp1,
@@ -2127,10 +2127,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3, this->tmp1,
expr_stmt : ptr1, ptr2, ptr3, this->tmp1,
convert_expr : ptr1, ptr2, ptr3, this->tmp1,
modify_expr : ptr1, ptr2, ptr3, this->tmp1,
-test27.cpp:247:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:247:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:247:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:247:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
parm_decl ptr1: ptr1, ptr2, ptr3, this->tmp1,
@@ -2171,10 +2171,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3, this->tmp1,
expr_stmt : ptr1, ptr2, ptr3, this->tmp1,
convert_expr : ptr1, ptr2, ptr3, this->tmp1,
modify_expr : ptr1, ptr2, ptr3, this->tmp1,
-test27.cpp:249:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:249:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:249:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:249:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
parm_decl ptr1: ptr1, ptr2, ptr3, this->tmp1,
@@ -2281,7 +2281,7 @@ test27.cpp: In member function 'void Object1::func8(Data1*, Data1*)':
test27.cpp:259:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:259:24: warning: Using field 'ptr2' without checking for null pointer
+test27.cpp:259:24: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
var_decl ptr2: ptr1, ptr2, ptr3, this->tmp1,
@@ -2310,10 +2310,10 @@ cleanup_point_expr : ptr1, ptr2, ptr3, this->tmp1,
expr_stmt : ptr1, ptr2, ptr3, this->tmp1,
convert_expr : ptr1, ptr2, ptr3, this->tmp1,
modify_expr : ptr1, ptr2, ptr3, this->tmp1,
-test27.cpp:262:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:262:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:262:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:262:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1, ptr2, ptr3, this->tmp1,
indirect_ref : ptr1, ptr2, ptr3, this->tmp1,
parm_decl ptr1: ptr1, ptr2, ptr3, this->tmp1,
diff --git a/test/test27-04.txt b/test/test27-04.txt
index 7d5ea0a..4a2e4cf 100644
--- a/test/test27-04.txt
+++ b/test/test27-04.txt
@@ -1,33 +1,33 @@
test27.cpp: In member function 'void Object1::func1(Data1*)':
-test27.cpp:55:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:55:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:55:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:55:28: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:56:28: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 400;
^
-test27.cpp:58:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:58:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:58:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:58:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:59:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 600;
^
test27.cpp: In member function 'void Object1::func2(Data1*)':
-test27.cpp:74:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:74:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:74:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:74:28: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:75:28: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 500;
^
test27.cpp:76:28: warning: Using variable 'this->tmp2' without checking for null pointer
tmp2->val = 600;
^
-test27.cpp:78:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:78:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 700;
^
-test27.cpp:78:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:78:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:79:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 800;
^
@@ -35,104 +35,104 @@ test27.cpp:80:24: warning: Using variable 'this->tmp2' without checking for null
tmp2->val = 900;
^
test27.cpp: In member function 'void Object1::func3(Data1*)':
-test27.cpp:108:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:108:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:108:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:108:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:132:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:132:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:146:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:132:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:146:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:146:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:170:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:146:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:170:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:170:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:170:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp: In member function 'void Object1::func4(Data1*)':
-test27.cpp:192:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:192:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:192:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:197:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:192:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:197:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:197:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:197:28: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:198:28: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 400;
^
-test27.cpp:200:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:200:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:200:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:200:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:201:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 600;
^
test27.cpp: In member function 'void Object1::func5(Data1*, Data1*)':
-test27.cpp:207:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:207:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:207:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:207:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:209:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:209:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:212:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:209:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:212:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:212:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:215:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:212:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:215:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:215:24: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:217:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:215:24: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:217:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:217:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:217:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp: In member function 'void Object1::func6(Data1*, Data1*)':
-test27.cpp:222:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:222:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:222:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:222:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:224:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 200;
^
-test27.cpp:230:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:230:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:230:24: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:232:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:230:24: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:232:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
test27.cpp: In member function 'void Object1::func7(Data1*, Data1*)':
-test27.cpp:239:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:239:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:239:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:239:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:241:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:241:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:244:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:241:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:244:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:244:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:247:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:244:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:247:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:247:24: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:249:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:247:24: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:249:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:249:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:249:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp: In member function 'void Object1::func8(Data1*, Data1*)':
test27.cpp:259:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:259:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:262:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:259:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:262:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:262:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:262:28: warning: Using variable 'ptr1' without checking for null pointer
diff --git a/test/test27-05.txt b/test/test27-05.txt
index 7d5ea0a..4a2e4cf 100644
--- a/test/test27-05.txt
+++ b/test/test27-05.txt
@@ -1,33 +1,33 @@
test27.cpp: In member function 'void Object1::func1(Data1*)':
-test27.cpp:55:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:55:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:55:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:55:28: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:56:28: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 400;
^
-test27.cpp:58:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:58:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:58:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:58:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:59:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 600;
^
test27.cpp: In member function 'void Object1::func2(Data1*)':
-test27.cpp:74:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:74:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:74:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:74:28: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:75:28: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 500;
^
test27.cpp:76:28: warning: Using variable 'this->tmp2' without checking for null pointer
tmp2->val = 600;
^
-test27.cpp:78:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:78:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 700;
^
-test27.cpp:78:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:78:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:79:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 800;
^
@@ -35,104 +35,104 @@ test27.cpp:80:24: warning: Using variable 'this->tmp2' without checking for null
tmp2->val = 900;
^
test27.cpp: In member function 'void Object1::func3(Data1*)':
-test27.cpp:108:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:108:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:108:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:108:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:132:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:132:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:146:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:132:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:146:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:146:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:170:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:146:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:170:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:170:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:170:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp: In member function 'void Object1::func4(Data1*)':
-test27.cpp:192:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:192:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:192:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:197:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:192:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:197:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:197:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:197:28: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:198:28: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 400;
^
-test27.cpp:200:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:200:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:200:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:200:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:201:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 600;
^
test27.cpp: In member function 'void Object1::func5(Data1*, Data1*)':
-test27.cpp:207:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:207:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:207:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:207:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:209:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:209:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:212:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:209:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:212:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:212:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:215:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:212:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:215:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:215:24: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:217:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:215:24: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:217:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:217:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:217:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp: In member function 'void Object1::func6(Data1*, Data1*)':
-test27.cpp:222:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:222:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:222:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:222:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:224:24: warning: Using variable 'this->tmp1' without checking for null pointer
tmp1->val = 200;
^
-test27.cpp:230:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:230:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:230:24: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:232:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:230:24: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:232:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
test27.cpp: In member function 'void Object1::func7(Data1*, Data1*)':
-test27.cpp:239:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:239:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test27.cpp:239:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:239:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp:241:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:241:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:244:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:241:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:244:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:244:28: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:247:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:244:28: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:247:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 400;
^
-test27.cpp:247:24: warning: Using field 'ptr1' without checking for null pointer
-test27.cpp:249:24: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:247:24: warning: Using variable 'ptr1' without checking for null pointer
+test27.cpp:249:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 500;
^
-test27.cpp:249:24: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:249:24: warning: Using variable 'ptr1' without checking for null pointer
test27.cpp: In member function 'void Object1::func8(Data1*, Data1*)':
test27.cpp:259:24: warning: Using variable 'ptr2' without checking for null pointer
ptr2->val = 200;
^
-test27.cpp:259:24: warning: Using field 'ptr2' without checking for null pointer
-test27.cpp:262:28: warning: Using parameter 'ptr1' without checking for null pointer
+test27.cpp:259:24: warning: Using variable 'ptr2' without checking for null pointer
+test27.cpp:262:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 300;
^
-test27.cpp:262:28: warning: Using field 'ptr1' without checking for null pointer
+test27.cpp:262:28: warning: Using variable 'ptr1' without checking for null pointer
diff --git a/test/test30-03.txt b/test/test30-03.txt
index 3bcf6d3..e1fe4d3 100644
--- a/test/test30-03.txt
+++ b/test/test30-03.txt
@@ -164,7 +164,7 @@ integer_cst 64: ptr1,
integer_cst 0: ptr1,
eq_expr : ptr1,
test30.cpp: In member function 'void Object1::func2(Data1*)':
-test30.cpp:69:32: warning: Using field 'ptr1' without checking for null pointer
+test30.cpp:69:32: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 10)
^
integer_cst 10: ptr1,
diff --git a/test/test30-04.txt b/test/test30-04.txt
index e80d94e..9db3804 100644
--- a/test/test30-04.txt
+++ b/test/test30-04.txt
@@ -1,5 +1,5 @@
test30.cpp: In member function 'void Object1::func2(Data1*)':
-test30.cpp:69:32: warning: Using field 'ptr1' without checking for null pointer
+test30.cpp:69:32: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 10)
^
test30.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
diff --git a/test/test30-05.txt b/test/test30-05.txt
index e80d94e..9db3804 100644
--- a/test/test30-05.txt
+++ b/test/test30-05.txt
@@ -1,5 +1,5 @@
test30.cpp: In member function 'void Object1::func2(Data1*)':
-test30.cpp:69:32: warning: Using field 'ptr1' without checking for null pointer
+test30.cpp:69:32: warning: Using variable 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 10)
^
test30.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
diff --git a/test/test33-03.txt b/test/test33-03.txt
index 1ed9bb1..761297d 100644
--- a/test/test33-03.txt
+++ b/test/test33-03.txt
@@ -122,10 +122,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test33.cpp: In member function 'void Object1::func1(Data1*)':
-test33.cpp:46:24: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test33.cpp:46:24: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -237,10 +237,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test33.cpp: In member function 'void Object1::func2(Data1*)':
-test33.cpp:67:24: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test33.cpp:67:24: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -313,10 +313,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test33.cpp: In member function 'void Object1::func3(Data1*)':
-test33.cpp:82:28: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test33.cpp:82:28: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
diff --git a/test/test33-04.txt b/test/test33-04.txt
index f5bb4e8..78a480d 100644
--- a/test/test33-04.txt
+++ b/test/test33-04.txt
@@ -1,18 +1,18 @@
test33.cpp: In member function 'void Object1::func1(Data1*)':
-test33.cpp:46:24: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test33.cpp:46:24: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp: In member function 'void Object1::func2(Data1*)':
-test33.cpp:67:24: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test33.cpp:67:24: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp: In member function 'void Object1::func3(Data1*)':
-test33.cpp:82:28: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test33.cpp:82:28: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp:91:9: warning: Useless variable check 'this->tmp2'. It already was checked before
if (tmp2)
^
diff --git a/test/test33-05.txt b/test/test33-05.txt
index f5bb4e8..78a480d 100644
--- a/test/test33-05.txt
+++ b/test/test33-05.txt
@@ -1,18 +1,18 @@
test33.cpp: In member function 'void Object1::func1(Data1*)':
-test33.cpp:46:24: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test33.cpp:46:24: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp: In member function 'void Object1::func2(Data1*)':
-test33.cpp:67:24: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test33.cpp:67:24: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp: In member function 'void Object1::func3(Data1*)':
-test33.cpp:82:28: warning: Using parameter 'ptr1' without checking for null pointer
+test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test33.cpp:82:28: warning: Using field 'ptr1' without checking for null pointer
+test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp:91:9: warning: Useless variable check 'this->tmp2'. It already was checked before
if (tmp2)
^
diff --git a/test/test34-03.txt b/test/test34-03.txt
index 0a53d2b..d225f6a 100644
--- a/test/test34-03.txt
+++ b/test/test34-03.txt
@@ -187,10 +187,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test34.cpp: In member function 'void Object1::func1(Data1*)':
-test34.cpp:60:24: warning: Using parameter 'ptr1' without checking for null pointer
+test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test34.cpp:60:24: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -347,10 +347,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test34.cpp: In member function 'void Object1::func2(Data1*)':
-test34.cpp:90:24: warning: Using parameter 'ptr1' without checking for null pointer
+test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test34.cpp:90:24: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -406,7 +406,7 @@ function_decl paranuckerInternalTest: ptr1,
if_stmt : ptr1,
eq_expr : ptr1,
test34.cpp: In member function 'void Object1::func3(Data1*)':
-test34.cpp:102:23: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:102:23: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->val == 100)
^
integer_cst 100: ptr1,
@@ -588,7 +588,7 @@ function_decl paranuckerInternalTest: ptr1,
while_stmt : ptr1,
eq_expr : ptr1,
test34.cpp: In member function 'void Object1::func4(Data1*)':
-test34.cpp:138:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
integer_cst 100: ptr1,
@@ -696,7 +696,7 @@ call_expr : ptr1,
addr_expr : ptr1,
function_decl paranuckerInternalTest: ptr1,
eq_expr : ptr1,
-test34.cpp:138:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
integer_cst 100: ptr1,
component_ref : ptr1,
indirect_ref : ptr1,
@@ -1141,7 +1141,7 @@ addr_expr : ptr1,
function_decl paranuckerInternalTest: ptr1,
eq_expr : ptr1,
test34.cpp: In member function 'void Object1::func6(Data1*)':
-test34.cpp:225:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:225:26: warning: Using variable 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
integer_cst 100: ptr1,
diff --git a/test/test34-04.txt b/test/test34-04.txt
index 13d53a4..c552a90 100644
--- a/test/test34-04.txt
+++ b/test/test34-04.txt
@@ -1,24 +1,24 @@
test34.cpp: In member function 'void Object1::func1(Data1*)':
-test34.cpp:60:24: warning: Using parameter 'ptr1' without checking for null pointer
+test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test34.cpp:60:24: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func2(Data1*)':
-test34.cpp:90:24: warning: Using parameter 'ptr1' without checking for null pointer
+test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test34.cpp:90:24: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func3(Data1*)':
-test34.cpp:102:23: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:102:23: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->val == 100)
^
test34.cpp: In member function 'void Object1::func4(Data1*)':
-test34.cpp:138:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
-test34.cpp:138:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func6(Data1*)':
-test34.cpp:225:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:225:26: warning: Using variable 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
test34.cpp: In member function 'void Object1::func7(Data1*)':
diff --git a/test/test34-05.txt b/test/test34-05.txt
index 13d53a4..c552a90 100644
--- a/test/test34-05.txt
+++ b/test/test34-05.txt
@@ -1,24 +1,24 @@
test34.cpp: In member function 'void Object1::func1(Data1*)':
-test34.cpp:60:24: warning: Using parameter 'ptr1' without checking for null pointer
+test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test34.cpp:60:24: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func2(Data1*)':
-test34.cpp:90:24: warning: Using parameter 'ptr1' without checking for null pointer
+test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
-test34.cpp:90:24: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func3(Data1*)':
-test34.cpp:102:23: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:102:23: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->val == 100)
^
test34.cpp: In member function 'void Object1::func4(Data1*)':
-test34.cpp:138:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
-test34.cpp:138:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func6(Data1*)':
-test34.cpp:225:26: warning: Using field 'ptr1' without checking for null pointer
+test34.cpp:225:26: warning: Using variable 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
test34.cpp: In member function 'void Object1::func7(Data1*)':
diff --git a/test/test39-03.txt b/test/test39-03.txt
index 8e8c196..f6b523d 100644
--- a/test/test39-03.txt
+++ b/test/test39-03.txt
@@ -369,10 +369,10 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test39.cpp: In member function 'void Object1::func1(Data1*) const':
-test39.cpp:63:24: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:63:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test39.cpp:63:24: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:63:24: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -437,10 +437,10 @@ cleanup_point_expr : ptr1,
expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
-test39.cpp:73:22: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:73:22: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 0;
^
-test39.cpp:73:22: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:73:22: warning: Using variable 'ptr1' without checking for null pointer
component_ref : ptr1,
indirect_ref : ptr1,
parm_decl ptr1: ptr1,
@@ -553,7 +553,7 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test39.cpp: In member function 'void Object1::func2(Data1*) const':
-test39.cpp:96:51: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:96:51: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = reinterpret_cast<Data1*>(1);
^
component_ref : ptr1,
@@ -569,7 +569,7 @@ pointer_type : ptr1,
record_type : ptr1,
type_decl Data1: ptr1,
integer_cst 1: ptr1,
-test39.cpp:96:15: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:96:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = reinterpret_cast<Data1*>(1);
^
integer_cst 1: ptr1,
@@ -670,7 +670,7 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test39.cpp: In member function 'void Object1::func3(Data1*) const':
-test39.cpp:119:25: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:119:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
component_ref : ptr1,
@@ -686,7 +686,7 @@ pointer_type : ptr1,
record_type : ptr1,
type_decl Data1: ptr1,
integer_cst 0: ptr1,
-test39.cpp:119:15: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:119:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
integer_cst 0: ptr1,
@@ -1328,7 +1328,7 @@ addr_expr : ptr1,
function_decl paranuckerInternalTest: ptr1,
return_expr : ptr1,
init_expr : ptr1,
-test39.cpp:238:22: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:238:22: warning: Using variable 'ptr1' without checking for null pointer
return ptr1->val;
^
result_decl : ptr1,
@@ -1427,10 +1427,10 @@ function_decl paranuckerInternalTest: ptr1, ptr2,
if_stmt : ptr1, ptr2,
eq_expr : ptr1, ptr2,
test39.cpp: In member function 'void Object1::func7(Data1*, Data1*) const':
-test39.cpp:252:23: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:252:23: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->val == ptr2->val)
^
-test39.cpp:252:23: warning: Using field 'ptr2' without checking for null pointer
+test39.cpp:252:23: warning: Using variable 'ptr2' without checking for null pointer
component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
diff --git a/test/test39-04.txt b/test/test39-04.txt
index 791f49c..73e94e5 100644
--- a/test/test39-04.txt
+++ b/test/test39-04.txt
@@ -1,35 +1,35 @@
test39.cpp: In member function 'void Object1::func1(Data1*) const':
-test39.cpp:63:24: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:63:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test39.cpp:63:24: warning: Using field 'ptr1' without checking for null pointer
-test39.cpp:73:22: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:63:24: warning: Using variable 'ptr1' without checking for null pointer
+test39.cpp:73:22: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 0;
^
-test39.cpp:73:22: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:73:22: warning: Using variable 'ptr1' without checking for null pointer
test39.cpp: In member function 'void Object1::func2(Data1*) const':
-test39.cpp:96:51: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:96:51: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = reinterpret_cast<Data1*>(1);
^
-test39.cpp:96:15: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:96:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = reinterpret_cast<Data1*>(1);
^
test39.cpp: In member function 'void Object1::func3(Data1*) const':
-test39.cpp:119:25: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:119:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
-test39.cpp:119:15: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:119:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
test39.cpp: In member function 'int Object1::func6(Data1*) const':
test39.cpp:228:27: warning: Using variable 'ptr1' without checking for null pointer
arr[1] = ptr1->val;
^
-test39.cpp:238:22: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:238:22: warning: Using variable 'ptr1' without checking for null pointer
return ptr1->val;
^
test39.cpp: In member function 'void Object1::func7(Data1*, Data1*) const':
-test39.cpp:252:23: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:252:23: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->val == ptr2->val)
^
-test39.cpp:252:23: warning: Using field 'ptr2' without checking for null pointer
+test39.cpp:252:23: warning: Using variable 'ptr2' without checking for null pointer
diff --git a/test/test39-05.txt b/test/test39-05.txt
index 55efa8c..cdb1350 100644
--- a/test/test39-05.txt
+++ b/test/test39-05.txt
@@ -1,24 +1,24 @@
test39.cpp: In member function 'void Object1::func1(Data1*) const':
-test39.cpp:63:24: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:63:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
-test39.cpp:63:24: warning: Using field 'ptr1' without checking for null pointer
-test39.cpp:73:22: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:63:24: warning: Using variable 'ptr1' without checking for null pointer
+test39.cpp:73:22: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 0;
^
-test39.cpp:73:22: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:73:22: warning: Using variable 'ptr1' without checking for null pointer
test39.cpp: In member function 'void Object1::func2(Data1*) const':
-test39.cpp:96:51: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:96:51: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = reinterpret_cast<Data1*>(1);
^
-test39.cpp:96:15: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:96:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = reinterpret_cast<Data1*>(1);
^
test39.cpp: In member function 'void Object1::func3(Data1*) const':
-test39.cpp:119:25: warning: Using parameter 'ptr1' without checking for null pointer
+test39.cpp:119:25: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
-test39.cpp:119:15: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:119:15: warning: Using variable 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
test39.cpp: In member function 'void Object1::func4() const':
@@ -39,11 +39,11 @@ test39.cpp:218:13: warning: variable 'arr' set but not used [-Wunused-but-set-va
test39.cpp:228:27: warning: Using variable 'ptr1' without checking for null pointer
arr[1] = ptr1->val;
^
-test39.cpp:238:22: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:238:22: warning: Using variable 'ptr1' without checking for null pointer
return ptr1->val;
^
test39.cpp: In member function 'void Object1::func7(Data1*, Data1*) const':
-test39.cpp:252:23: warning: Using field 'ptr1' without checking for null pointer
+test39.cpp:252:23: warning: Using variable 'ptr1' without checking for null pointer
if (ptr1->val == ptr2->val)
^
-test39.cpp:252:23: warning: Using field 'ptr2' without checking for null pointer
+test39.cpp:252:23: warning: Using variable 'ptr2' without checking for null pointer
diff --git a/test/test42-03.txt b/test/test42-03.txt
index a5c6af3..aa25810 100644
--- a/test/test42-03.txt
+++ b/test/test42-03.txt
@@ -201,7 +201,7 @@ expr_stmt : ptr1,
convert_expr : ptr1,
modify_expr : ptr1,
test42.cpp: In member function 'void Object1::func3(Data1*) const':
-test42.cpp:72:25: warning: Using field 'gptr1' without checking for null pointer
+test42.cpp:72:25: warning: Using variable 'gptr1' without checking for null pointer
gptr1->val = 100;
^
component_ref : ptr1,
diff --git a/test/test42-04.txt b/test/test42-04.txt
index f5e48b4..eca7fdc 100644
--- a/test/test42-04.txt
+++ b/test/test42-04.txt
@@ -3,6 +3,6 @@ test42.cpp:62:24: warning: Using variable 'this->tmp1' without checking for null
tmp1->val = 100;
^
test42.cpp: In member function 'void Object1::func3(Data1*) const':
-test42.cpp:72:25: warning: Using field 'gptr1' without checking for null pointer
+test42.cpp:72:25: warning: Using variable 'gptr1' without checking for null pointer
gptr1->val = 100;
^
diff --git a/test/test42-05.txt b/test/test42-05.txt
index f5e48b4..eca7fdc 100644
--- a/test/test42-05.txt
+++ b/test/test42-05.txt
@@ -3,6 +3,6 @@ test42.cpp:62:24: warning: Using variable 'this->tmp1' without checking for null
tmp1->val = 100;
^
test42.cpp: In member function 'void Object1::func3(Data1*) const':
-test42.cpp:72:25: warning: Using field 'gptr1' without checking for null pointer
+test42.cpp:72:25: warning: Using variable 'gptr1' without checking for null pointer
gptr1->val = 100;
^