File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
cpp/ql/test/library-tests/types/sizeof Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 33| sizeof.cpp:21:15:21:27 | sizeof(int *) | 8 | SizeofTypeOperator.getTypeOperand() | file://:0:0:0:0 | int * |
44| sizeof.cpp:22:15:22:29 | sizeof(MyClass) | 16 | SizeofTypeOperator.getTypeOperand() | sizeof.cpp:4:7:4:13 | MyClass |
55| sizeof.cpp:23:15:23:23 | sizeof(<expr>) | 4 | SizeofExprOperator.getExprOperand() | sizeof.cpp:23:22:23:22 | i |
6+ | sizeof.cpp:23:15:23:23 | sizeof(<expr>) | 4 | SizeofTypeOperator.getTypeOperand() | file://:0:0:0:0 | int |
67| sizeof.cpp:24:15:24:23 | sizeof(<expr>) | 1 | SizeofExprOperator.getExprOperand() | sizeof.cpp:24:22:24:22 | c |
8+ | sizeof.cpp:24:15:24:23 | sizeof(<expr>) | 1 | SizeofTypeOperator.getTypeOperand() | file://:0:0:0:0 | char |
79| sizeof.cpp:25:15:25:25 | sizeof(<expr>) | 8 | SizeofExprOperator.getExprOperand() | sizeof.cpp:25:22:25:24 | ptr |
10+ | sizeof.cpp:25:15:25:25 | sizeof(<expr>) | 8 | SizeofTypeOperator.getTypeOperand() | file://:0:0:0:0 | int * |
811| sizeof.cpp:26:15:26:24 | sizeof(<expr>) | 16 | SizeofExprOperator.getExprOperand() | sizeof.cpp:26:22:26:23 | mc |
12+ | sizeof.cpp:26:15:26:24 | sizeof(<expr>) | 16 | SizeofTypeOperator.getTypeOperand() | sizeof.cpp:4:7:4:13 | MyClass |
913| sizeof.cpp:27:15:27:25 | sizeof(<expr>) | 40 | SizeofExprOperator.getExprOperand() | sizeof.cpp:27:22:27:24 | arr |
14+ | sizeof.cpp:27:15:27:25 | sizeof(<expr>) | 40 | SizeofTypeOperator.getTypeOperand() | file://:0:0:0:0 | int[10] |
1015| sizeof.cpp:28:16:28:29 | sizeof(<expr>) | 4 | SizeofExprOperator.getExprOperand() | sizeof.cpp:28:23:28:28 | access to array |
16+ | sizeof.cpp:28:16:28:29 | sizeof(<expr>) | 4 | SizeofTypeOperator.getTypeOperand() | file://:0:0:0:0 | int |
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import cpp
33from SizeofOperator sto , string elemDesc , Element e
44where
55 elemDesc = "SizeofTypeOperator.getTypeOperand()" and
6- e = sto .( SizeofTypeOperator ) .getTypeOperand ( )
6+ e = sto .( SizeofOperator ) .getTypeOperand ( )
77 or
88 elemDesc = "SizeofExprOperator.getExprOperand()" and
99 e = sto .( SizeofExprOperator ) .getExprOperand ( )
You can’t perform that action at this time.
0 commit comments