summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-05 19:56:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-05 19:56:40 +0300
commit3ce0f854fb1a1a23c5c0cb02b115608e12b44782 (patch)
tree6ad70d9d9c8a8155216706b2660c590f44c61517
parented875a8dfb0d4dc977fb78fc25111d93bea174f2 (diff)
downloadparanucker-3ce0f854fb1a1a23c5c0cb02b115608e12b44782.tar.gz
paranucker-3ce0f854fb1a1a23c5c0cb02b115608e12b44782.tar.bz2
paranucker-3ce0f854fb1a1a23c5c0cb02b115608e12b44782.tar.xz
paranucker-3ce0f854fb1a1a23c5c0cb02b115608e12b44782.zip
Update test 42.
-rw-r--r--test/test42-01.txt650
-rw-r--r--test/test42-02.txt6
-rw-r--r--test/test42-03.txt219
-rw-r--r--test/test42.cpp19
4 files changed, 894 insertions, 0 deletions
diff --git a/test/test42-01.txt b/test/test42-01.txt
index 734f382..c0ff0c1 100644
--- a/test/test42-01.txt
+++ b/test/test42-01.txt
@@ -1009,3 +1009,653 @@ function_decl func6 test42.cpp 91:10 2147483647
record_type 3 - nested type
type_decl Data1 test42.cpp 15:8 2 - type name
- isAutogenerated: 1
+function_decl Data1 test42.cpp 15:8 2147483647
+- isAutogenerated: 1
+- isPublic: 1
+ method_type 2147483646 - function type
+ void_type 2147483645 - method return type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ record_type 2147483645 - method base type
+ type_decl Data1 test42.cpp 15:8 2147483644 - type name
+ - isAutogenerated: 1
+ tree_list 2147483645 - arg types
+ pointer_type 2147483644 - value
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ tree_list 2147483644 - chain
+ void_type 2147483643 - value
+ type_decl void <built-in> 0:0 2147483642 - type name
+ - isAutogenerated: 1
+ result_decl test42.cpp 15:8 2147483646 - function result
+ - isAutogenerated: 1
+ void_type 2147483645 - result type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 15:8 2147483646 - argument
+ - isAutogenerated: 1
+ pointer_type 2147483645 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ bind_expr test42.cpp 15:8 2147483646 - code
+ cleanup_point_expr test42.cpp 15:8 2147483645 - operand
+ expr_stmt test42.cpp 15:8 2147483644 - operand
+ convert_expr 2147483643 - expresssion
+ modify_expr 2147483642 - operand
+ component_ref 2147483641 - operand
+ indirect_ref 2147483640 - object
+ nop_expr 2147483639 - ref
+ parm_decl this test42.cpp 15:8 2147483638 - operand
+ - isAutogenerated: 1
+ pointer_type 2147483637 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483637 - parm size
+ field_decl _vptr.Data1 test42.cpp 15:8 2147483640 - field
+ - unsigned
+ - isVirtual: 1
+ - isAutogenerated: 1
+ integer_cst 64 2147483639 - decl size
+ pointer_type 5 - field type
+ pointer_type 3 - nested type
+ type_decl __vtbl_ptr_type <built-in> 0:0 2 - type name
+ - isAutogenerated: 1
+ function_type 2 - nested type
+ integer_type 1 - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 0 - type size
+ integer_cst -2147483648 0 - min value
+ integer_cst 2147483647 0 - max value
+ pointer_plus_expr 2147483641 - operand
+ addr_expr 2147483640 - operand
+ var_decl _ZTV5Data1 test42.cpp 15:8 2147483639 - operand
+ - isUsed: 1
+ - isVirtual: 1
+ - isAutogenerated: 1
+ integer_cst 320 2147483638 - decl size
+ constructor 5 - initial
+ array_type 4 - constructor type
+ pointer_type 3 - element type
+ type_decl __vtbl_ptr_type <built-in> 0:0 2 - type name
+ - isAutogenerated: 1
+ function_type 2 - nested type
+ integer_type 1 - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 0 - type size
+ integer_cst -2147483648 0 - min value
+ integer_cst 2147483647 0 - max value
+ integer_type 3 - domain
+ - precisionBits: 64
+ - signed
+ integer_cst 64 2 - type size
+ integer_cst 0 2 - min value
+ integer_cst 4 2 - max value
+ nop_expr 4 - value
+ integer_cst 0 3 - operand
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ var_decl _ZTI5Data1 test42.cpp 15:8 2 - operand
+ - isAutogenerated: 1
+ integer_cst 128 1 - decl size
+ record_type 1 - var type
+ type_decl __class_type_info_pseudo <built-in> 0:0 0 - type name
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ function_decl __comp_dtor test42.cpp 21:13 2 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 1 - function type
+ void_type 0 - method return type
+ record_type 0 - method base type
+ tree_list 0 - arg types
+ parm_decl this test42.cpp 21:20 1 - argument
+ - isAutogenerated: 1
+ pointer_type 0 - decl type
+ integer_cst 64 0 - parm size
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ function_decl __deleting_dtor test42.cpp 21:13 2 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 1 - function type
+ void_type 0 - method return type
+ record_type 0 - method base type
+ tree_list 0 - arg types
+ parm_decl this test42.cpp 21:20 1 - argument
+ - isAutogenerated: 1
+ pointer_type 0 - decl type
+ integer_cst 64 0 - parm size
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ function_decl getData3 test42.cpp 28:20 2 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 1 - function type
+ pointer_type 0 - method return type
+ record_type 0 - method base type
+ tree_list 0 - arg types
+ result_decl test42.cpp 29:5 1 - function result
+ - isAutogenerated: 1
+ pointer_type 0 - result type
+ integer_cst 64 0 - decl size
+ - isUsed: 1
+ parm_decl this test42.cpp 28:35 1 - argument
+ - isAutogenerated: 1
+ pointer_type 0 - decl type
+ integer_cst 64 0 - parm size
+ - isUsed: 1
+ parm_decl k test42.cpp 28:34 1 - argument
+ reference_type 0 - decl type
+ integer_cst 64 0 - parm size
+ statement_list 1 - code
+ cleanup_point_expr test42.cpp 30:16 0 - statement
+ expr_stmt test42.cpp 30:16 0 - operand
+ return_expr test42.cpp 31:16 0 - statement
+ init_expr 0 - operand
+ result_decl test42.cpp 29:5 0 - operand
+ - isAutogenerated: 1
+ component_ref test42.cpp 31:16 0 - operand
+ indirect_ref 0 - object
+ nop_expr 0 - ref
+ - isUsed: 1
+ parm_decl this test42.cpp 28:35 0 - operand
+ - isAutogenerated: 1
+ field_decl ptrval test42.cpp 18:12 0 - field
+ - unsigned
+ integer_cst 64 0 - decl size
+ pointer_type 0 - field type
+ array_type 2147483638 - var type
+ pointer_type 2147483637 - element type
+ type_decl __vtbl_ptr_type <built-in> 0:0 2147483636 - type name
+ - isAutogenerated: 1
+ function_type 3 - nested type
+ integer_type 2 - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 1 - type name
+ - isAutogenerated: 1
+ integer_cst 32 1 - type size
+ integer_cst -2147483648 1 - min value
+ integer_cst 2147483647 1 - max value
+ integer_type 2147483637 - domain
+ - precisionBits: 64
+ - signed
+ integer_cst 64 2147483636 - type size
+ integer_cst 0 2147483636 - min value
+ integer_cst 4 2147483636 - max value
+ integer_cst 16 2147483640 - operand
+ block 2147483645 - operand
+function_decl __base_ctor test42.cpp 15:8 2147483647
+- isAutogenerated: 1
+- isPublic: 1
+ method_type 2147483646 - function type
+ void_type 2147483645 - method return type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ record_type 2147483645 - method base type
+ type_decl Data1 test42.cpp 15:8 2147483644 - type name
+ - isAutogenerated: 1
+ tree_list 2147483645 - arg types
+ pointer_type 2147483644 - value
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ tree_list 2147483644 - chain
+ void_type 2147483643 - value
+ type_decl void <built-in> 0:0 2147483642 - type name
+ - isAutogenerated: 1
+ result_decl test42.cpp 15:8 2147483646 - function result
+ - isAutogenerated: 1
+ void_type 2147483645 - result type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 15:8 2147483646 - argument
+ - isAutogenerated: 1
+ pointer_type 2147483645 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ bind_expr test42.cpp 15:8 2147483646 - code
+ cleanup_point_expr test42.cpp 15:8 2147483645 - operand
+ expr_stmt test42.cpp 15:8 2147483644 - operand
+ convert_expr 2147483643 - expresssion
+ modify_expr 2147483642 - operand
+ component_ref 2147483641 - operand
+ indirect_ref 2147483640 - object
+ nop_expr 2147483639 - ref
+ parm_decl this test42.cpp 15:8 2147483638 - operand
+ - isAutogenerated: 1
+ pointer_type 2147483637 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483637 - parm size
+ field_decl _vptr.Data1 test42.cpp 15:8 2147483640 - field
+ - unsigned
+ - isVirtual: 1
+ - isAutogenerated: 1
+ integer_cst 64 2147483639 - decl size
+ pointer_type 5 - field type
+ pointer_type 3 - nested type
+ type_decl __vtbl_ptr_type <built-in> 0:0 2 - type name
+ - isAutogenerated: 1
+ function_type 2 - nested type
+ integer_type 1 - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 0 - type size
+ integer_cst -2147483648 0 - min value
+ integer_cst 2147483647 0 - max value
+ pointer_plus_expr 2147483641 - operand
+ addr_expr 2147483640 - operand
+ var_decl _ZTV5Data1 test42.cpp 15:8 2147483639 - operand
+ - isUsed: 1
+ - isVirtual: 1
+ - isAutogenerated: 1
+ integer_cst 320 2147483638 - decl size
+ constructor 5 - initial
+ array_type 4 - constructor type
+ pointer_type 3 - element type
+ type_decl __vtbl_ptr_type <built-in> 0:0 2 - type name
+ - isAutogenerated: 1
+ function_type 2 - nested type
+ integer_type 1 - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 0 - type size
+ integer_cst -2147483648 0 - min value
+ integer_cst 2147483647 0 - max value
+ integer_type 3 - domain
+ - precisionBits: 64
+ - signed
+ integer_cst 64 2 - type size
+ integer_cst 0 2 - min value
+ integer_cst 4 2 - max value
+ nop_expr 4 - value
+ integer_cst 0 3 - operand
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ var_decl _ZTI5Data1 test42.cpp 15:8 2 - operand
+ - isAutogenerated: 1
+ integer_cst 128 1 - decl size
+ record_type 1 - var type
+ type_decl __class_type_info_pseudo <built-in> 0:0 0 - type name
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ function_decl __comp_dtor test42.cpp 21:13 2 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 1 - function type
+ void_type 0 - method return type
+ record_type 0 - method base type
+ tree_list 0 - arg types
+ parm_decl this test42.cpp 21:20 1 - argument
+ - isAutogenerated: 1
+ pointer_type 0 - decl type
+ integer_cst 64 0 - parm size
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ function_decl __deleting_dtor test42.cpp 21:13 2 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 1 - function type
+ void_type 0 - method return type
+ record_type 0 - method base type
+ tree_list 0 - arg types
+ parm_decl this test42.cpp 21:20 1 - argument
+ - isAutogenerated: 1
+ pointer_type 0 - decl type
+ integer_cst 64 0 - parm size
+ nop_expr 4 - value
+ addr_expr 3 - operand
+ function_decl getData3 test42.cpp 28:20 2 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 1 - function type
+ pointer_type 0 - method return type
+ record_type 0 - method base type
+ tree_list 0 - arg types
+ result_decl test42.cpp 29:5 1 - function result
+ - isAutogenerated: 1
+ pointer_type 0 - result type
+ integer_cst 64 0 - decl size
+ - isUsed: 1
+ parm_decl this test42.cpp 28:35 1 - argument
+ - isAutogenerated: 1
+ pointer_type 0 - decl type
+ integer_cst 64 0 - parm size
+ - isUsed: 1
+ parm_decl k test42.cpp 28:34 1 - argument
+ reference_type 0 - decl type
+ integer_cst 64 0 - parm size
+ statement_list 1 - code
+ cleanup_point_expr test42.cpp 30:16 0 - statement
+ expr_stmt test42.cpp 30:16 0 - operand
+ return_expr test42.cpp 31:16 0 - statement
+ init_expr 0 - operand
+ result_decl test42.cpp 29:5 0 - operand
+ - isAutogenerated: 1
+ component_ref test42.cpp 31:16 0 - operand
+ indirect_ref 0 - object
+ nop_expr 0 - ref
+ - isUsed: 1
+ parm_decl this test42.cpp 28:35 0 - operand
+ - isAutogenerated: 1
+ field_decl ptrval test42.cpp 18:12 0 - field
+ - unsigned
+ integer_cst 64 0 - decl size
+ pointer_type 0 - field type
+ array_type 2147483638 - var type
+ pointer_type 2147483637 - element type
+ type_decl __vtbl_ptr_type <built-in> 0:0 2147483636 - type name
+ - isAutogenerated: 1
+ function_type 3 - nested type
+ integer_type 2 - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 1 - type name
+ - isAutogenerated: 1
+ integer_cst 32 1 - type size
+ integer_cst -2147483648 1 - min value
+ integer_cst 2147483647 1 - max value
+ integer_type 2147483637 - domain
+ - precisionBits: 64
+ - signed
+ integer_cst 64 2147483636 - type size
+ integer_cst 0 2147483636 - min value
+ integer_cst 4 2147483636 - max value
+ integer_cst 16 2147483640 - operand
+ block 2147483645 - operand
+function_decl __comp_ctor test42.cpp 15:8 2147483647
+- isAutogenerated: 1
+- isPublic: 1
+ method_type 2147483646 - function type
+ void_type 2147483645 - method return type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ record_type 2147483645 - method base type
+ type_decl Data1 test42.cpp 15:8 2147483644 - type name
+ - isAutogenerated: 1
+ tree_list 2147483645 - arg types
+ pointer_type 2147483644 - value
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ tree_list 2147483644 - chain
+ void_type 2147483643 - value
+ type_decl void <built-in> 0:0 2147483642 - type name
+ - isAutogenerated: 1
+ result_decl test42.cpp 15:8 2147483646 - function result
+ - isAutogenerated: 1
+ void_type 2147483645 - result type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 15:8 2147483646 - argument
+ - isAutogenerated: 1
+ pointer_type 2147483645 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ statement_list 2147483646 - code
+function_decl func7 test42.cpp 96:10 2147483647
+- isPublic: 1
+ method_type 2147483646 - function type
+ void_type 2147483645 - method return type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ record_type 2147483645 - method base type
+ type_decl Object1 test42.cpp 50:7 2147483644 - type name
+ - isAutogenerated: 1
+ tree_list 2147483645 - arg types
+ pointer_type 2147483644 - value
+ record_type 3 - nested type
+ type_decl Object1 test42.cpp 50:7 2 - type name
+ - isAutogenerated: 1
+ tree_list 2147483644 - chain
+ pointer_type 2147483643 - value
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ tree_list 2147483643 - chain
+ void_type 2147483642 - value
+ type_decl void <built-in> 0:0 2147483641 - type name
+ - isAutogenerated: 1
+ result_decl test42.cpp 97:5 2147483646 - function result
+ - isAutogenerated: 1
+ void_type 2147483645 - result type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 96:29 2147483646 - argument
+ - isAutogenerated: 1
+ pointer_type 2147483645 - decl type
+ record_type 3 - nested type
+ type_decl Object1 test42.cpp 50:7 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ parm_decl ptr1 test42.cpp 96:23 2147483646 - argument
+ pointer_type 2147483645 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ bind_expr test42.cpp 99:23 2147483646 - code
+ var_decl val1 test42.cpp 98:15 2147483645 - operand
+ - isUsed: 1
+ integer_cst 576 2147483644 - decl size
+ record_type 2147483644 - var type
+ type_decl Data1 test42.cpp 15:8 2147483643 - type name
+ - isAutogenerated: 1
+ statement_list 2147483645 - operand
+ decl_expr test42.cpp 98:15 2147483644 - statement
+ var_decl val1 test42.cpp 98:15 2147483643 - operand
+ - isUsed: 1
+ integer_cst 576 3 - decl size 2
+ record_type 3 - var type 2
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ cleanup_point_expr test42.cpp 98:15 2147483644 - statement
+ expr_stmt test42.cpp 98:15 2147483643 - operand
+ call_expr test42.cpp 98:15 2147483642 - expresssion
+ addr_expr 2147483641 - function
+ function_decl __comp_ctor test42.cpp 15:8 20 - operand
+ - isAutogenerated: 1
+ - isPublic: 1
+ method_type 19 - function type
+ void_type 18 - method return type
+ type_decl void <built-in> 0:0 17 - type name
+ - isAutogenerated: 1
+ record_type 18 - method base type
+ type_decl Data1 test42.cpp 15:8 17 - type name
+ - isAutogenerated: 1
+ tree_list 18 - arg types
+ pointer_type 17 - value
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ tree_list 17 - chain
+ void_type 16 - value
+ type_decl void <built-in> 0:0 15 - type name
+ - isAutogenerated: 1
+ result_decl test42.cpp 15:8 19 - function result
+ - isAutogenerated: 1
+ void_type 18 - result type
+ type_decl void <built-in> 0:0 17 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 15:8 19 - argument
+ - isAutogenerated: 1
+ pointer_type 18 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 18 - parm size
+ statement_list 19 - code
+ addr_expr 2147483641 - arg
+ var_decl val1 test42.cpp 98:15 2147483640 - operand
+ - isUsed: 1
+ integer_cst 576 3 - decl size 2
+ record_type 3 - var type 2
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ cleanup_stmt test42.cpp 98:15 2147483644 - statement
+ statement_list 2147483643 - body
+ cleanup_point_expr test42.cpp 99:23 2147483642 - statement
+ expr_stmt test42.cpp 99:23 2147483641 - operand
+ convert_expr 2147483640 - expresssion
+ modify_expr 2147483639 - operand
+ component_ref test42.cpp 99:14 2147483638 - operand
+ var_decl val1 test42.cpp 98:15 2147483637 - object
+ - isUsed: 1
+ integer_cst 576 3 - decl size 2
+ record_type 3 - var type 2
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ field_decl val test42.cpp 17:9 2147483637 - field
+ - signed
+ integer_cst 32 2147483636 - decl size
+ integer_type 5 - field type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 4 - type name
+ - isAutogenerated: 1
+ integer_cst 32 4 - type size
+ integer_cst -2147483648 4 - min value
+ integer_cst 2147483647 4 - max value
+ integer_cst 100 2147483638 - operand
+ call_expr 2147483643 - expresssion
+ addr_expr 2147483642 - function
+ function_decl __comp_dtor test42.cpp 21:13 20 - operand
+ - isVirtual: 1
+ - isExternal: 1
+ - isPublic: 1
+ method_type 19 - function type
+ void_type 18 - method return type
+ type_decl void <built-in> 0:0 17 - type name
+ - isAutogenerated: 1
+ record_type 18 - method base type
+ type_decl Data1 test42.cpp 15:8 17 - type name
+ - isAutogenerated: 1
+ tree_list 18 - arg types
+ pointer_type 17 - value
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ tree_list 17 - chain
+ void_type 16 - value
+ type_decl void <built-in> 0:0 15 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 21:20 19 - argument
+ - isAutogenerated: 1
+ pointer_type 18 - decl type
+ record_type 3 - nested type
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 18 - parm size
+ addr_expr 2147483642 - arg
+ var_decl val1 test42.cpp 98:15 2147483641 - operand
+ - isUsed: 1
+ integer_cst 576 3 - decl size 2
+ record_type 3 - var type 2
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ var_decl val1 test42.cpp 98:15 2147483643 - decl
+ - isUsed: 1
+ integer_cst 576 3 - decl size 2
+ record_type 3 - var type 2
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+ block 2147483645 - operand
+ var_decl val1 test42.cpp 98:15 2147483644 - block vars
+ - isUsed: 1
+ integer_cst 576 3 - decl size 2
+ record_type 3 - var type 2
+ type_decl Data1 test42.cpp 15:8 2 - type name
+ - isAutogenerated: 1
+function_decl func8 test42.cpp 102:10 2147483647
+- isPublic: 1
+ method_type 2147483646 - function type
+ void_type 2147483645 - method return type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ record_type 2147483645 - method base type
+ type_decl Object1 test42.cpp 50:7 2147483644 - type name
+ - isAutogenerated: 1
+ tree_list 2147483645 - arg types
+ pointer_type 2147483644 - value
+ record_type 3 - nested type
+ type_decl Object1 test42.cpp 50:7 2 - type name
+ - isAutogenerated: 1
+ tree_list 2147483644 - chain
+ reference_type 2147483643 - value
+ record_type 2147483642 - nested type
+ type_decl Data1 test42.cpp 15:8 2147483641 - type name
+ - isAutogenerated: 1
+ tree_list 2147483643 - chain
+ void_type 2147483642 - value
+ type_decl void <built-in> 0:0 2147483641 - type name
+ - isAutogenerated: 1
+ result_decl test42.cpp 103:5 2147483646 - function result
+ - isAutogenerated: 1
+ void_type 2147483645 - result type
+ type_decl void <built-in> 0:0 2147483644 - type name
+ - isAutogenerated: 1
+ parm_decl this test42.cpp 102:29 2147483646 - argument
+ - isAutogenerated: 1
+ pointer_type 2147483645 - decl type
+ record_type 3 - nested type
+ type_decl Object1 test42.cpp 50:7 2 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ - isUsed: 1
+ parm_decl ptr1 test42.cpp 102:23 2147483646 - argument
+ reference_type 2147483645 - decl type
+ record_type 2147483644 - nested type
+ type_decl Data1 test42.cpp 15:8 2147483643 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483645 - parm size
+ cleanup_point_expr test42.cpp 104:23 2147483646 - code
+ expr_stmt test42.cpp 104:23 2147483645 - operand
+ convert_expr 2147483644 - expresssion
+ modify_expr 2147483643 - operand
+ component_ref test42.cpp 104:14 2147483642 - operand
+ indirect_ref 2147483641 - object
+ - isUsed: 1
+ parm_decl ptr1 test42.cpp 102:23 2147483640 - ref
+ reference_type 2147483639 - decl type
+ record_type 2147483638 - nested type
+ type_decl Data1 test42.cpp 15:8 2147483637 - type name
+ - isAutogenerated: 1
+ integer_cst 64 2147483639 - parm size
+ field_decl val test42.cpp 17:9 2147483641 - field
+ - signed
+ integer_cst 32 2147483640 - decl size
+ integer_type 5 - field type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 4 - type name
+ - isAutogenerated: 1
+ integer_cst 32 4 - type size
+ integer_cst -2147483648 4 - min value
+ integer_cst 2147483647 4 - max value
+ integer_cst 200 2147483642 - operand
diff --git a/test/test42-02.txt b/test/test42-02.txt
index f01c759..624d916 100644
--- a/test/test42-02.txt
+++ b/test/test42-02.txt
@@ -11,3 +11,9 @@ func3: pointer_type ptr1,
func4: pointer_type ptr1,
func5: pointer_type ptr1,
func6: pointer_type ptr1,
+Data1:
+__base_ctor :
+__comp_ctor :
+func7: pointer_type ptr1,
+__comp_ctor :
+func8:
diff --git a/test/test42-03.txt b/test/test42-03.txt
index 2e01c95..18dcc0e 100644
--- a/test/test42-03.txt
+++ b/test/test42-03.txt
@@ -305,3 +305,222 @@ integer_cst 64: ptr1,
pointer_type : ptr1,
record_type : ptr1,
type_decl Data1: ptr1,
+function_decl Data1:
+bind_expr :
+cleanup_point_expr :
+expr_stmt :
+convert_expr :
+modify_expr :
+component_ref :
+indirect_ref :
+parm_decl this:
+pointer_type :
+record_type :
+type_decl Data1:
+integer_cst 64:
+field_decl _vptr.Data1:
+integer_cst 64:
+pointer_type :
+pointer_type :
+type_decl __vtbl_ptr_type:
+function_type :
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+pointer_plus_expr :
+addr_expr :
+var_decl _ZTV5Data1:
+integer_cst 320:
+constructor :
+array_type :
+pointer_type :
+type_decl __vtbl_ptr_type:
+function_type :
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+integer_type :
+integer_cst 64:
+integer_cst 0:
+integer_cst 4:
+integer_cst 0:
+addr_expr :
+var_decl _ZTI5Data1:
+integer_cst 128:
+record_type :
+type_decl __class_type_info_pseudo:
+addr_expr :
+function_decl __comp_dtor :
+addr_expr :
+function_decl __deleting_dtor :
+addr_expr :
+function_decl getData3:
+array_type :
+pointer_type :
+type_decl __vtbl_ptr_type:
+function_type :
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+integer_type :
+integer_cst 64:
+integer_cst 0:
+integer_cst 4:
+integer_cst 16:
+block :
+function_decl __base_ctor :
+bind_expr :
+cleanup_point_expr :
+expr_stmt :
+convert_expr :
+modify_expr :
+component_ref :
+indirect_ref :
+parm_decl this:
+pointer_type :
+record_type :
+type_decl Data1:
+integer_cst 64:
+field_decl _vptr.Data1:
+integer_cst 64:
+pointer_type :
+pointer_type :
+type_decl __vtbl_ptr_type:
+function_type :
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+pointer_plus_expr :
+addr_expr :
+var_decl _ZTV5Data1:
+integer_cst 320:
+constructor :
+array_type :
+pointer_type :
+type_decl __vtbl_ptr_type:
+function_type :
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+integer_type :
+integer_cst 64:
+integer_cst 0:
+integer_cst 4:
+integer_cst 0:
+addr_expr :
+var_decl _ZTI5Data1:
+integer_cst 128:
+record_type :
+type_decl __class_type_info_pseudo:
+addr_expr :
+function_decl __comp_dtor :
+addr_expr :
+function_decl __deleting_dtor :
+addr_expr :
+function_decl getData3:
+array_type :
+pointer_type :
+type_decl __vtbl_ptr_type:
+function_type :
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+integer_type :
+integer_cst 64:
+integer_cst 0:
+integer_cst 4:
+integer_cst 16:
+block :
+function_decl __comp_ctor :
+statement_list :
+function_decl func7:
+bind_expr : ptr1,
+statement_list : ptr1,
+decl_expr : ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+cleanup_point_expr : ptr1,
+expr_stmt : ptr1,
+call_expr : ptr1,
+addr_expr : ptr1,
+function_decl __comp_ctor : ptr1,
+statement_list : ptr1,
+addr_expr : ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+cleanup_stmt : ptr1,
+statement_list : ptr1,
+cleanup_point_expr : ptr1,
+expr_stmt : ptr1,
+convert_expr : ptr1,
+modify_expr : ptr1,
+component_ref : ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+field_decl val: ptr1,
+integer_cst 32: ptr1,
+integer_type : ptr1,
+type_decl int: ptr1,
+integer_cst 32: ptr1,
+integer_cst -2147483648: ptr1,
+integer_cst 2147483647: ptr1,
+integer_cst 100: ptr1,
+call_expr : ptr1,
+addr_expr : ptr1,
+function_decl __comp_dtor : ptr1,
+addr_expr : ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+block : ptr1,
+var_decl val1: ptr1,
+integer_cst 576: ptr1,
+record_type : ptr1,
+type_decl Data1: ptr1,
+function_decl func8:
+cleanup_point_expr :
+expr_stmt :
+convert_expr :
+modify_expr :
+component_ref :
+indirect_ref :
+parm_decl ptr1:
+reference_type :
+record_type :
+type_decl Data1:
+integer_cst 64:
+field_decl val:
+integer_cst 32:
+integer_type :
+type_decl int:
+integer_cst 32:
+integer_cst -2147483648:
+integer_cst 2147483647:
+integer_cst 200:
diff --git a/test/test42.cpp b/test/test42.cpp
index 782351c..97f4e09 100644
--- a/test/test42.cpp
+++ b/test/test42.cpp
@@ -93,6 +93,25 @@ class Object1
tmp3->getData2();
}
+ void func7(Data1 *ptr1) const
+ {
+ Data1 val1;
+ val1.val = 100;
+ }
+
+ void func8(Data1 &ptr1) const
+ {
+ ptr1.val = 200;
+ }
+
+/*
+ void func9(Data1 *ptr1) const
+ {
+ Data1 *val1;
+ val1->val = 300;
+ }
+*/
+
/*
broken for now
void func6(Data1 *ptr1) const