summaryrefslogtreecommitdiff
path: root/test/test12-03.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test12-03.txt')
-rw-r--r--test/test12-03.txt42
1 files changed, 21 insertions, 21 deletions
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,