summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test5-03.txt20
-rw-r--r--test/test5-05.txt20
-rw-r--r--test/test6-03.txt6
-rw-r--r--test/test6-04.txt6
-rw-r--r--test/test7-04.txt4
-rw-r--r--test/test7-05.txt4
6 files changed, 30 insertions, 30 deletions
diff --git a/test/test5-03.txt b/test/test5-03.txt
index deb7b0e..9664057 100644
--- a/test/test5-03.txt
+++ b/test/test5-03.txt
@@ -1,31 +1,31 @@
test5.c: In function 'void func1(int, int*, char)':
-test5.c:12:13: warning: Using variable without check for NULL
+test5.c:12:13: warning: Using parameter 'b' without checking for null pointer
*b = 100;
^
test5.c: In function 'void func2(int, int*, char)':
-test5.c:17:9: warning: Using variable without check for NULL
+test5.c:17:9: warning: Using parameter 'b' without checking for null pointer
*(1 + b) = 200;
^
test5.c: In function 'void func3(int, int*, char)':
-test5.c:22:9: warning: Using variable without check for NULL
+test5.c:22:9: warning: Using parameter 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
test5.c: In function 'void func5(int, int*, char)':
-test5.c:28:12: warning: Using variable without check for NULL
+test5.c:28:12: warning: Using parameter 'b' without checking for null pointer
*(var1 + b) = 400;
^
test5.c: In function 'void func6(int, int*, char)':
-test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
int *var2 = b;
^
-test5.c:33:10: warning: Using variable without check for NULL
-test5.c:33:10: warning: Using variable without check for NULL
-test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
test5.c: In function 'void func7(int, int*, char)':
-test5.c:39:20: warning: Using variable without check for NULL
+test5.c:39:20: warning: Using parameter 'b' without checking for null pointer
int *var3 = 12 + b;
^
test5.c: In function 'void func8(int, int*, char)':
-test5.c:45:11: warning: Using variable without check for NULL
+test5.c:45:11: warning: Using parameter 'bptr' without checking for null pointer
int **var4 = &bptr;
^
diff --git a/test/test5-05.txt b/test/test5-05.txt
index bf2d458..31c89cb 100644
--- a/test/test5-05.txt
+++ b/test/test5-05.txt
@@ -4,7 +4,7 @@ expr_stmt : b,
convert_expr : b,
modify_expr : b,
test5.c: In function 'void func1(int, int*, char)':
-test5.c:12:13: warning: Using variable without check for NULL
+test5.c:12:13: warning: Using parameter '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,
test5.c: In function 'void func2(int, int*, char)':
-test5.c:17:9: warning: Using variable without check for NULL
+test5.c:17:9: warning: Using parameter '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,
test5.c: In function 'void func3(int, int*, char)':
-test5.c:22:9: warning: Using variable without check for NULL
+test5.c:22:9: warning: Using parameter 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
parm_decl b: b,
@@ -80,7 +80,7 @@ modify_expr : b,
indirect_ref : b,
pointer_plus_expr : b,
test5.c: In function 'void func5(int, int*, char)':
-test5.c:28:12: warning: Using variable without check for NULL
+test5.c:28:12: warning: Using parameter 'b' without checking for null pointer
*(var1 + b) = 400;
^
parm_decl b: b,
@@ -103,7 +103,7 @@ function_decl func6:
bind_expr : b,
var_decl var2: b,
test5.c: In function 'void func6(int, int*, char)':
-test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
int *var2 = b;
^
integer_cst 64: b,
@@ -117,25 +117,25 @@ integer_cst 2147483647: b,
statement_list : b,
decl_expr : b,
var_decl var2: b,
-test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
cleanup_point_expr : b,
expr_stmt : b,
convert_expr : b,
modify_expr : b,
indirect_ref : b,
var_decl var2: b,
-test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
integer_cst 500: b,
block : b,
var_decl var2: b,
-test5.c:33:10: warning: Using variable without check for NULL
+test5.c:33:10: warning: Using parameter 'b' without checking for null pointer
function_decl func7:
bind_expr : b,
var_decl var3: b,
integer_cst 64: b,
pointer_plus_expr : b,
test5.c: In function 'void func7(int, int*, char)':
-test5.c:39:20: warning: Using variable without check for NULL
+test5.c:39:20: warning: Using parameter 'b' without checking for null pointer
int *var3 = 12 + b;
^
parm_decl b: b,
@@ -171,7 +171,7 @@ var_decl var4: bptr,
integer_cst 64: bptr,
addr_expr : bptr,
test5.c: In function 'void func8(int, int*, char)':
-test5.c:45:11: warning: Using variable without check for NULL
+test5.c:45:11: warning: Using parameter 'bptr' without checking for null pointer
int **var4 = &bptr;
^
parm_decl bptr: bptr,
diff --git a/test/test6-03.txt b/test/test6-03.txt
index 709f769..b03e9ff 100644
--- a/test/test6-03.txt
+++ b/test/test6-03.txt
@@ -1,12 +1,12 @@
test6.c: In function 'void func1(int*)':
-test6.c:12:13: warning: Using variable without check for NULL
+test6.c:12:13: warning: Using parameter 'a' without checking for null pointer
*a = 100;
^
test6.c: In function 'void func5(int*)':
-test6.c:45:13: warning: Using variable without check for NULL
+test6.c:45:13: warning: Using parameter 'a' without checking for null pointer
*a = 600;
^
test6.c: In function 'void func7(int*)':
-test6.c:70:16: warning: Using variable without check for NULL
+test6.c:70:16: warning: Using parameter 'aptr' without checking for null pointer
*aptr = 800;
^
diff --git a/test/test6-04.txt b/test/test6-04.txt
index b29c99a..699e0ac 100644
--- a/test/test6-04.txt
+++ b/test/test6-04.txt
@@ -4,7 +4,7 @@ expr_stmt : a,
convert_expr : a,
modify_expr : a,
test6.c: In function 'void func1(int*)':
-test6.c:12:13: warning: Using variable without check for NULL
+test6.c:12:13: warning: Using parameter 'a' without checking for null pointer
*a = 100;
^
indirect_ref : a,
@@ -90,7 +90,7 @@ expr_stmt : a,
convert_expr : a,
modify_expr : a,
test6.c: In function 'void func5(int*)':
-test6.c:45:13: warning: Using variable without check for NULL
+test6.c:45:13: warning: Using parameter 'a' without checking for null pointer
*a = 600;
^
indirect_ref : a,
@@ -186,7 +186,7 @@ expr_stmt : aptr,
convert_expr : aptr,
modify_expr : aptr,
test6.c: In function 'void func7(int*)':
-test6.c:70:16: warning: Using variable without check for NULL
+test6.c:70:16: warning: Using parameter 'aptr' without checking for null pointer
*aptr = 800;
^
indirect_ref : aptr,
diff --git a/test/test7-04.txt b/test/test7-04.txt
index cf3d33e..1a0584b 100644
--- a/test/test7-04.txt
+++ b/test/test7-04.txt
@@ -1,8 +1,8 @@
test7.cpp: In member function 'void Object1::func2(int*)':
-test7.cpp:24:18: warning: Using variable without check for NULL
+test7.cpp:24:18: warning: Using parameter 'aptr' without checking for null pointer
*aptr = 0;
^
test7.cpp: In member function 'void Object1::func5(Struct1*)':
-test7.cpp:40:15: warning: Using variable without check for NULL
+test7.cpp:40:15: warning: Using parameter 'sptr' without checking for null pointer
sptr->num = 0;
^
diff --git a/test/test7-05.txt b/test/test7-05.txt
index 2502176..39993ef 100644
--- a/test/test7-05.txt
+++ b/test/test7-05.txt
@@ -2949,7 +2949,7 @@ expr_stmt : aptr, this,
convert_expr : aptr, this,
modify_expr : aptr, this,
test7.cpp: In member function 'void Object1::func2(int*)':
-test7.cpp:24:18: warning: Using variable without check for NULL
+test7.cpp:24:18: warning: Using parameter 'aptr' without checking for null pointer
*aptr = 0;
^
indirect_ref : aptr, this,
@@ -3004,7 +3004,7 @@ convert_expr : sptr, this,
modify_expr : sptr, this,
component_ref : sptr, this,
test7.cpp: In member function 'void Object1::func5(Struct1*)':
-test7.cpp:40:15: warning: Using variable without check for NULL
+test7.cpp:40:15: warning: Using parameter 'sptr' without checking for null pointer
sptr->num = 0;
^
indirect_ref : sptr, this,