diff options
-rw-r--r-- | test/test43-01.txt | 1020 | ||||
-rw-r--r-- | test/test43-02.txt | 7 | ||||
-rw-r--r-- | test/test43-03.txt | 243 | ||||
-rw-r--r-- | test/test43.cpp | 6 |
4 files changed, 1276 insertions, 0 deletions
diff --git a/test/test43-01.txt b/test/test43-01.txt index e742483..e3d1f58 100644 --- a/test/test43-01.txt +++ b/test/test43-01.txt @@ -1358,3 +1358,1023 @@ function_decl func5 test43.cpp 100:10 2147483647 record_type 3 - nested type type_decl Data1 test43.cpp 21:8 2 - type name - isAutogenerated: 1 +function_decl Data1 test43.cpp 21: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 test43.cpp 21:8 2147483644 - type name + - isAutogenerated: 1 + tree_list 2147483645 - arg types + pointer_type 2147483644 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21: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 test43.cpp 21: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 test43.cpp 21:8 2147483646 - argument + - isAutogenerated: 1 + pointer_type 2147483645 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483645 - parm size + bind_expr test43.cpp 21:8 2147483646 - code + statement_list 2147483645 - operand + cleanup_point_expr test43.cpp 21:8 2147483644 - statement + expr_stmt test43.cpp 21:8 2147483643 - operand + convert_expr 2147483642 - expresssion + modify_expr 2147483641 - operand + component_ref 2147483640 - operand + indirect_ref 2147483639 - object + nop_expr 2147483638 - ref + parm_decl this test43.cpp 21:8 2147483637 - operand + - isAutogenerated: 1 + pointer_type 2147483636 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483636 - parm size + field_decl _vptr.Data1 test43.cpp 21:8 2147483639 - field + - unsigned + - isVirtual: 1 + - isAutogenerated: 1 + integer_cst 64 2147483638 - 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 2147483640 - operand + addr_expr 2147483639 - operand + var_decl _ZTV5Data1 test43.cpp 21:8 2147483638 - operand + - isUsed: 1 + - isVirtual: 1 + - isAutogenerated: 1 + integer_cst 384 2147483637 - decl size + constructor 20 - initial + array_type 19 - constructor type + pointer_type 18 - element type + type_decl __vtbl_ptr_type <built-in> 0:0 17 - 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 18 - domain + - precisionBits: 64 + - signed + integer_cst 64 17 - type size + integer_cst 0 17 - min value + integer_cst 5 17 - max value + nop_expr 19 - value + integer_cst 0 18 - operand + nop_expr 19 - value + addr_expr 18 - operand + var_decl _ZTI5Data1 test43.cpp 21:8 17 - operand + - isAutogenerated: 1 + integer_cst 128 16 - decl size + record_type 16 - var type + type_decl __class_type_info_pseudo <built-in> 0:0 15 - type name + nop_expr 19 - value + addr_expr 18 - operand + function_decl __comp_dtor test43.cpp 27:13 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + void_type 15 - method return type + type_decl void <built-in> 0:0 14 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + void_type 13 - value + type_decl void <built-in> 0:0 12 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 27:20 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + nop_expr 19 - value + addr_expr 18 - operand + function_decl __deleting_dtor test43.cpp 27:13 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + void_type 15 - method return type + type_decl void <built-in> 0:0 14 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + void_type 13 - value + type_decl void <built-in> 0:0 12 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 27:20 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + nop_expr 19 - value + addr_expr 18 - operand + function_decl getData3 test43.cpp 34:20 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + pointer_type 15 - method return type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + reference_type 13 - value + integer_type 12 - nested type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 11 - type name + - isAutogenerated: 1 + integer_cst 32 11 - type size + integer_cst -2147483648 11 - min value + integer_cst 2147483647 11 - max value + tree_list 13 - chain + void_type 12 - value + type_decl void <built-in> 0:0 11 - type name + - isAutogenerated: 1 + result_decl test43.cpp 35:5 16 - function result + - isAutogenerated: 1 + pointer_type 15 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - decl size + - isUsed: 1 + parm_decl this test43.cpp 34:35 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + - isUsed: 1 + parm_decl k test43.cpp 34:34 16 - argument + reference_type 15 - decl type + integer_type 14 - nested type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 13 - type name + - isAutogenerated: 1 + integer_cst 32 13 - type size + integer_cst -2147483648 13 - min value + integer_cst 2147483647 13 - max value + integer_cst 64 15 - parm size + statement_list 16 - code + cleanup_point_expr test43.cpp 36:16 15 - statement + expr_stmt test43.cpp 36:16 14 - operand + convert_expr 13 - expresssion + modify_expr 12 - operand + component_ref test43.cpp 36:9 11 - operand + indirect_ref 10 - object + nop_expr 9 - ref + - isUsed: 1 + parm_decl this test43.cpp 34:35 8 - operand + - isAutogenerated: 1 + pointer_type 7 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 7 - parm size + field_decl val test43.cpp 23:9 10 - field + - signed + integer_cst 32 9 - 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 + indirect_ref 11 - operand + - isUsed: 1 + parm_decl k test43.cpp 34:34 10 - ref + reference_type 9 - decl type + integer_type 8 - nested type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 7 - type name + - isAutogenerated: 1 + integer_cst 32 7 - type size + integer_cst -2147483648 7 - min value + integer_cst 2147483647 7 - max value + integer_cst 64 9 - parm size + return_expr test43.cpp 37:16 15 - statement + init_expr 14 - operand + result_decl test43.cpp 35:5 13 - operand + - isAutogenerated: 1 + pointer_type 12 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 12 - decl size + component_ref test43.cpp 37:16 13 - operand + indirect_ref 12 - object + nop_expr 11 - ref + - isUsed: 1 + parm_decl this test43.cpp 34:35 10 - operand + - isAutogenerated: 1 + pointer_type 9 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 9 - parm size + field_decl ptrval test43.cpp 24:12 12 - field + - unsigned + integer_cst 64 11 - decl size + pointer_type 5 - field type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + nop_expr 19 - value + addr_expr 18 - operand + function_decl getData6 test43.cpp 47:20 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + pointer_type 15 - method return type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + void_type 13 - value + type_decl void <built-in> 0:0 12 - type name + - isAutogenerated: 1 + result_decl test43.cpp 48:5 16 - function result + - isAutogenerated: 1 + pointer_type 15 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - decl size + parm_decl this test43.cpp 47:29 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + return_expr test43.cpp 49:16 16 - code + init_expr 15 - operand + result_decl test43.cpp 48:5 14 - operand + - isAutogenerated: 1 + pointer_type 13 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 13 - decl size + integer_cst 0 14 - operand + array_type 2147483637 - var type + pointer_type 2147483636 - element type + type_decl __vtbl_ptr_type <built-in> 0:0 2147483635 - 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 2147483636 - domain + - precisionBits: 64 + - signed + integer_cst 64 2147483635 - type size + integer_cst 0 2147483635 - min value + integer_cst 5 2147483635 - max value + integer_cst 16 2147483639 - operand + cleanup_point_expr test43.cpp 21:8 2147483644 - statement + expr_stmt test43.cpp 21:8 2147483643 - operand + call_expr test43.cpp 21:8 2147483642 - expresssion + addr_expr 2147483641 - function + function_decl __comp_ctor test43.cpp 8:5 50 - operand + - isPublic: 1 + method_type 49 - function type + void_type 48 - method return type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + record_type 48 - method base type + type_decl Data2 test43.cpp 6:8 47 - type name + - isAutogenerated: 1 + tree_list 48 - arg types + pointer_type 47 - value + record_type 3 - nested type + type_decl Data2 test43.cpp 6:8 2 - type name + - isAutogenerated: 1 + tree_list 47 - chain + void_type 46 - value + type_decl void <built-in> 0:0 45 - type name + - isAutogenerated: 1 + result_decl test43.cpp 11:5 49 - function result + - isAutogenerated: 1 + void_type 48 - result type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 8:11 49 - argument + - isAutogenerated: 1 + pointer_type 48 - decl type + record_type 3 - nested type + type_decl Data2 test43.cpp 6:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 48 - parm size + statement_list 49 - code + addr_expr 2147483641 - arg + component_ref test43.cpp 21:8 2147483640 - operand + indirect_ref 2147483639 - object + nop_expr 2147483638 - ref + parm_decl this test43.cpp 21:8 2147483637 - operand + - isAutogenerated: 1 + pointer_type 2147483636 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483636 - parm size + field_decl perm test43.cpp 25:11 2147483639 - field + - signed + integer_cst 256 2147483638 - decl size + record_type 5 - field type + type_decl Data2 test43.cpp 6:8 4 - type name + - isAutogenerated: 1 + block 2147483645 - operand +function_decl __base_ctor test43.cpp 21: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 test43.cpp 21:8 2147483644 - type name + - isAutogenerated: 1 + tree_list 2147483645 - arg types + pointer_type 2147483644 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21: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 test43.cpp 21: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 test43.cpp 21:8 2147483646 - argument + - isAutogenerated: 1 + pointer_type 2147483645 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483645 - parm size + bind_expr test43.cpp 21:8 2147483646 - code + statement_list 2147483645 - operand + cleanup_point_expr test43.cpp 21:8 2147483644 - statement + expr_stmt test43.cpp 21:8 2147483643 - operand + convert_expr 2147483642 - expresssion + modify_expr 2147483641 - operand + component_ref 2147483640 - operand + indirect_ref 2147483639 - object + nop_expr 2147483638 - ref + parm_decl this test43.cpp 21:8 2147483637 - operand + - isAutogenerated: 1 + pointer_type 2147483636 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483636 - parm size + field_decl _vptr.Data1 test43.cpp 21:8 2147483639 - field + - unsigned + - isVirtual: 1 + - isAutogenerated: 1 + integer_cst 64 2147483638 - 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 2147483640 - operand + addr_expr 2147483639 - operand + var_decl _ZTV5Data1 test43.cpp 21:8 2147483638 - operand + - isUsed: 1 + - isVirtual: 1 + - isAutogenerated: 1 + integer_cst 384 2147483637 - decl size + constructor 20 - initial + array_type 19 - constructor type + pointer_type 18 - element type + type_decl __vtbl_ptr_type <built-in> 0:0 17 - 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 18 - domain + - precisionBits: 64 + - signed + integer_cst 64 17 - type size + integer_cst 0 17 - min value + integer_cst 5 17 - max value + nop_expr 19 - value + integer_cst 0 18 - operand + nop_expr 19 - value + addr_expr 18 - operand + var_decl _ZTI5Data1 test43.cpp 21:8 17 - operand + - isAutogenerated: 1 + integer_cst 128 16 - decl size + record_type 16 - var type + type_decl __class_type_info_pseudo <built-in> 0:0 15 - type name + nop_expr 19 - value + addr_expr 18 - operand + function_decl __comp_dtor test43.cpp 27:13 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + void_type 15 - method return type + type_decl void <built-in> 0:0 14 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + void_type 13 - value + type_decl void <built-in> 0:0 12 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 27:20 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + nop_expr 19 - value + addr_expr 18 - operand + function_decl __deleting_dtor test43.cpp 27:13 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + void_type 15 - method return type + type_decl void <built-in> 0:0 14 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + void_type 13 - value + type_decl void <built-in> 0:0 12 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 27:20 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + nop_expr 19 - value + addr_expr 18 - operand + function_decl getData3 test43.cpp 34:20 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + pointer_type 15 - method return type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + reference_type 13 - value + integer_type 12 - nested type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 11 - type name + - isAutogenerated: 1 + integer_cst 32 11 - type size + integer_cst -2147483648 11 - min value + integer_cst 2147483647 11 - max value + tree_list 13 - chain + void_type 12 - value + type_decl void <built-in> 0:0 11 - type name + - isAutogenerated: 1 + result_decl test43.cpp 35:5 16 - function result + - isAutogenerated: 1 + pointer_type 15 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - decl size + - isUsed: 1 + parm_decl this test43.cpp 34:35 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + - isUsed: 1 + parm_decl k test43.cpp 34:34 16 - argument + reference_type 15 - decl type + integer_type 14 - nested type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 13 - type name + - isAutogenerated: 1 + integer_cst 32 13 - type size + integer_cst -2147483648 13 - min value + integer_cst 2147483647 13 - max value + integer_cst 64 15 - parm size + statement_list 16 - code + cleanup_point_expr test43.cpp 36:16 15 - statement + expr_stmt test43.cpp 36:16 14 - operand + convert_expr 13 - expresssion + modify_expr 12 - operand + component_ref test43.cpp 36:9 11 - operand + indirect_ref 10 - object + nop_expr 9 - ref + - isUsed: 1 + parm_decl this test43.cpp 34:35 8 - operand + - isAutogenerated: 1 + pointer_type 7 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 7 - parm size + field_decl val test43.cpp 23:9 10 - field + - signed + integer_cst 32 9 - 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 + indirect_ref 11 - operand + - isUsed: 1 + parm_decl k test43.cpp 34:34 10 - ref + reference_type 9 - decl type + integer_type 8 - nested type + - precisionBits: 32 + - signed + type_decl int <built-in> 0:0 7 - type name + - isAutogenerated: 1 + integer_cst 32 7 - type size + integer_cst -2147483648 7 - min value + integer_cst 2147483647 7 - max value + integer_cst 64 9 - parm size + return_expr test43.cpp 37:16 15 - statement + init_expr 14 - operand + result_decl test43.cpp 35:5 13 - operand + - isAutogenerated: 1 + pointer_type 12 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 12 - decl size + component_ref test43.cpp 37:16 13 - operand + indirect_ref 12 - object + nop_expr 11 - ref + - isUsed: 1 + parm_decl this test43.cpp 34:35 10 - operand + - isAutogenerated: 1 + pointer_type 9 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 9 - parm size + field_decl ptrval test43.cpp 24:12 12 - field + - unsigned + integer_cst 64 11 - decl size + pointer_type 5 - field type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + nop_expr 19 - value + addr_expr 18 - operand + function_decl getData6 test43.cpp 47:20 17 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 16 - function type + pointer_type 15 - method return type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + record_type 15 - method base type + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + tree_list 15 - arg types + pointer_type 14 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 14 - chain + void_type 13 - value + type_decl void <built-in> 0:0 12 - type name + - isAutogenerated: 1 + result_decl test43.cpp 48:5 16 - function result + - isAutogenerated: 1 + pointer_type 15 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - decl size + parm_decl this test43.cpp 47:29 16 - argument + - isAutogenerated: 1 + pointer_type 15 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 15 - parm size + return_expr test43.cpp 49:16 16 - code + init_expr 15 - operand + result_decl test43.cpp 48:5 14 - operand + - isAutogenerated: 1 + pointer_type 13 - result type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 13 - decl size + integer_cst 0 14 - operand + array_type 2147483637 - var type + pointer_type 2147483636 - element type + type_decl __vtbl_ptr_type <built-in> 0:0 2147483635 - 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 2147483636 - domain + - precisionBits: 64 + - signed + integer_cst 64 2147483635 - type size + integer_cst 0 2147483635 - min value + integer_cst 5 2147483635 - max value + integer_cst 16 2147483639 - operand + cleanup_point_expr test43.cpp 21:8 2147483644 - statement + expr_stmt test43.cpp 21:8 2147483643 - operand + call_expr test43.cpp 21:8 2147483642 - expresssion + addr_expr 2147483641 - function + function_decl __comp_ctor test43.cpp 8:5 50 - operand + - isPublic: 1 + method_type 49 - function type + void_type 48 - method return type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + record_type 48 - method base type + type_decl Data2 test43.cpp 6:8 47 - type name + - isAutogenerated: 1 + tree_list 48 - arg types + pointer_type 47 - value + record_type 3 - nested type + type_decl Data2 test43.cpp 6:8 2 - type name + - isAutogenerated: 1 + tree_list 47 - chain + void_type 46 - value + type_decl void <built-in> 0:0 45 - type name + - isAutogenerated: 1 + result_decl test43.cpp 11:5 49 - function result + - isAutogenerated: 1 + void_type 48 - result type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 8:11 49 - argument + - isAutogenerated: 1 + pointer_type 48 - decl type + record_type 3 - nested type + type_decl Data2 test43.cpp 6:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 48 - parm size + statement_list 49 - code + addr_expr 2147483641 - arg + component_ref test43.cpp 21:8 2147483640 - operand + indirect_ref 2147483639 - object + nop_expr 2147483638 - ref + parm_decl this test43.cpp 21:8 2147483637 - operand + - isAutogenerated: 1 + pointer_type 2147483636 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483636 - parm size + field_decl perm test43.cpp 25:11 2147483639 - field + - signed + integer_cst 256 2147483638 - decl size + record_type 5 - field type + type_decl Data2 test43.cpp 6:8 4 - type name + - isAutogenerated: 1 + block 2147483645 - operand +function_decl __comp_ctor test43.cpp 21: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 test43.cpp 21:8 2147483644 - type name + - isAutogenerated: 1 + tree_list 2147483645 - arg types + pointer_type 2147483644 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21: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 test43.cpp 21: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 test43.cpp 21:8 2147483646 - argument + - isAutogenerated: 1 + pointer_type 2147483645 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483645 - parm size + statement_list 2147483646 - code +function_decl func6 test43.cpp 108: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 test43.cpp 60:7 2147483644 - type name + - isAutogenerated: 1 + tree_list 2147483645 - arg types + pointer_type 2147483644 - value + record_type 3 - nested type + type_decl Object1 test43.cpp 60:7 2 - type name + - isAutogenerated: 1 + tree_list 2147483644 - chain + pointer_type 2147483643 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21: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 test43.cpp 109: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 test43.cpp 108:27 2147483646 - argument + - isAutogenerated: 1 + pointer_type 2147483645 - decl type + record_type 3 - nested type + type_decl Object1 test43.cpp 60:7 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483645 - parm size + - isUsed: 1 + parm_decl ptr1 test43.cpp 108:23 2147483646 - argument + pointer_type 2147483645 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483645 - parm size + bind_expr test43.cpp 111:27 2147483646 - code + var_decl var1 test43.cpp 110:15 2147483645 - operand + - isUsed: 1 + integer_cst 576 2147483644 - decl size + record_type 2147483644 - var type + type_decl Data1 test43.cpp 21:8 2147483643 - type name + - isAutogenerated: 1 + statement_list 2147483645 - operand + decl_expr test43.cpp 110:15 2147483644 - statement + var_decl var1 test43.cpp 110:15 2147483643 - operand + - isUsed: 1 + integer_cst 576 15 - decl size 2 + record_type 15 - var type 2 + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + cleanup_point_expr test43.cpp 110:15 2147483644 - statement + expr_stmt test43.cpp 110:15 2147483643 - operand + call_expr test43.cpp 110:15 2147483642 - expresssion + addr_expr 2147483641 - function + function_decl __comp_ctor test43.cpp 21:8 50 - operand + - isAutogenerated: 1 + - isPublic: 1 + method_type 49 - function type + void_type 48 - method return type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + record_type 48 - method base type + type_decl Data1 test43.cpp 21:8 47 - type name + - isAutogenerated: 1 + tree_list 48 - arg types + pointer_type 47 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 47 - chain + void_type 46 - value + type_decl void <built-in> 0:0 45 - type name + - isAutogenerated: 1 + result_decl test43.cpp 21:8 49 - function result + - isAutogenerated: 1 + void_type 48 - result type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 21:8 49 - argument + - isAutogenerated: 1 + pointer_type 48 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 48 - parm size + statement_list 49 - code + addr_expr 2147483641 - arg + var_decl var1 test43.cpp 110:15 2147483640 - operand + - isUsed: 1 + integer_cst 576 15 - decl size 2 + record_type 15 - var type 2 + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + cleanup_stmt test43.cpp 110:15 2147483644 - statement + statement_list 2147483643 - body + cleanup_point_expr test43.cpp 111:27 2147483642 - statement + expr_stmt test43.cpp 111:27 2147483641 - operand + convert_expr 2147483640 - expresssion + modify_expr 2147483639 - operand + component_ref test43.cpp 111:14 2147483638 - operand + var_decl var1 test43.cpp 110:15 2147483637 - object + - isUsed: 1 + integer_cst 576 15 - decl size 2 + record_type 15 - var type 2 + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + field_decl ptrval test43.cpp 24:12 2147483637 - field + - unsigned + integer_cst 64 2147483636 - decl size + pointer_type 5 - field type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + - isUsed: 1 + parm_decl ptr1 test43.cpp 108:23 2147483638 - operand + pointer_type 2147483637 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 2147483637 - parm size + call_expr 2147483643 - expresssion + addr_expr 2147483642 - function + function_decl __comp_dtor test43.cpp 27:13 50 - operand + - isVirtual: 1 + - isExternal: 1 + - isPublic: 1 + method_type 49 - function type + void_type 48 - method return type + type_decl void <built-in> 0:0 47 - type name + - isAutogenerated: 1 + record_type 48 - method base type + type_decl Data1 test43.cpp 21:8 47 - type name + - isAutogenerated: 1 + tree_list 48 - arg types + pointer_type 47 - value + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + tree_list 47 - chain + void_type 46 - value + type_decl void <built-in> 0:0 45 - type name + - isAutogenerated: 1 + parm_decl this test43.cpp 27:20 49 - argument + - isAutogenerated: 1 + pointer_type 48 - decl type + record_type 3 - nested type + type_decl Data1 test43.cpp 21:8 2 - type name + - isAutogenerated: 1 + integer_cst 64 48 - parm size + addr_expr 2147483642 - arg + var_decl var1 test43.cpp 110:15 2147483641 - operand + - isUsed: 1 + integer_cst 576 15 - decl size 2 + record_type 15 - var type 2 + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + var_decl var1 test43.cpp 110:15 2147483643 - decl + - isUsed: 1 + integer_cst 576 15 - decl size 2 + record_type 15 - var type 2 + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 + block 2147483645 - operand + var_decl var1 test43.cpp 110:15 2147483644 - block vars + - isUsed: 1 + integer_cst 576 15 - decl size 2 + record_type 15 - var type 2 + type_decl Data1 test43.cpp 21:8 14 - type name + - isAutogenerated: 1 diff --git a/test/test43-02.txt b/test/test43-02.txt index 031d8ce..8cbe3ad 100644 --- a/test/test43-02.txt +++ b/test/test43-02.txt @@ -14,3 +14,10 @@ func2: pointer_type ptr1, func3: pointer_type ptr1, func4: pointer_type ptr1, func5: +Data1: +__comp_ctor : +__base_ctor : +__comp_ctor : +__comp_ctor : +func6: pointer_type ptr1, +__comp_ctor : diff --git a/test/test43-03.txt b/test/test43-03.txt index b1c81f0..323b138 100644 --- a/test/test43-03.txt +++ b/test/test43-03.txt @@ -596,3 +596,246 @@ integer_cst 2147483647: pointer_type : record_type : type_decl Data1: +function_decl Data1: +bind_expr : +statement_list : +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 384: +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 5: +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: +addr_expr : +function_decl getData6: +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 5: +integer_cst 16: +cleanup_point_expr : +expr_stmt : +call_expr : +addr_expr : +function_decl __comp_ctor : +statement_list : +addr_expr : +component_ref : +indirect_ref : +parm_decl this: +pointer_type : +record_type : +type_decl Data1: +integer_cst 64: +field_decl perm: +integer_cst 256: +record_type : +type_decl Data2: +block : +function_decl __base_ctor : +bind_expr : +statement_list : +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 384: +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 5: +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: +addr_expr : +function_decl getData6: +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 5: +integer_cst 16: +cleanup_point_expr : +expr_stmt : +call_expr : +addr_expr : +function_decl __comp_ctor : +statement_list : +addr_expr : +component_ref : +indirect_ref : +parm_decl this: +pointer_type : +record_type : +type_decl Data1: +integer_cst 64: +field_decl perm: +integer_cst 256: +record_type : +type_decl Data2: +block : +function_decl __comp_ctor : +statement_list : +function_decl func6: +bind_expr : ptr1, +statement_list : ptr1, +decl_expr : ptr1, +var_decl var1: 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 var1: 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 var1: ptr1, +integer_cst 576: ptr1, +record_type : ptr1, +type_decl Data1: ptr1, +field_decl ptrval: ptr1, +integer_cst 64: ptr1, +pointer_type : ptr1, +record_type : ptr1, +type_decl Data1: ptr1, +parm_decl ptr1: ptr1, +pointer_type : ptr1, +record_type : ptr1, +type_decl Data1: ptr1, +integer_cst 64: ptr1, +call_expr : ptr1, +addr_expr : ptr1, +function_decl __comp_dtor : ptr1, +addr_expr : ptr1, +var_decl var1: ptr1, +integer_cst 576: ptr1, +record_type : ptr1, +type_decl Data1: ptr1, +var_decl var1: ptr1, +integer_cst 576: ptr1, +record_type : ptr1, +type_decl Data1: ptr1, +var_decl var1: ptr1, +integer_cst 576: ptr1, +record_type : ptr1, +type_decl Data1: ptr1, +block : ptr1, +var_decl var1: ptr1, +integer_cst 576: ptr1, +record_type : ptr1, +type_decl Data1: ptr1, diff --git a/test/test43.cpp b/test/test43.cpp index d1df67f..bce27eb 100644 --- a/test/test43.cpp +++ b/test/test43.cpp @@ -104,4 +104,10 @@ class Object1 if (ptr1) ptr1->val = 100; } + + void func6(Data1 *ptr1) + { + Data1 var1; + var1.ptrval = ptr1; + } }; |