File tree Expand file tree Collapse file tree 4 files changed +203
-3
lines changed
cpp/ql/test/library-tests/dataflow Expand file tree Collapse file tree 4 files changed +203
-3
lines changed Original file line number Diff line number Diff line change 74
74
| tests.cpp:436:6:436:25 | [summary] to write: Argument[1] in madCallArg0WithValue | PostUpdateNode | madCallArg0WithValue | madCallArg0WithValue |
75
75
| tests.cpp:437:5:437:36 | [summary param] 1 in madCallReturnValueIgnoreFunction | ParameterNode | madCallReturnValueIgnoreFunction | madCallReturnValueIgnoreFunction |
76
76
| tests.cpp:437:5:437:36 | [summary] to write: ReturnValue in madCallReturnValueIgnoreFunction | ReturnNode | madCallReturnValueIgnoreFunction | madCallReturnValueIgnoreFunction |
77
+ | tests.cpp:459:5:459:31 | [summary param] *0 in parameter_ref_to_return_ref | ParameterNode | parameter_ref_to_return_ref | parameter_ref_to_return_ref |
78
+ | tests.cpp:459:5:459:31 | [summary] to write: ReturnValue[*] in parameter_ref_to_return_ref | ReturnNode | parameter_ref_to_return_ref | parameter_ref_to_return_ref |
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ summarizedCallables
29
29
| tests.cpp:435:9:435:38 | madCallArg0ReturnToReturnFirst |
30
30
| tests.cpp:436:6:436:25 | madCallArg0WithValue |
31
31
| tests.cpp:437:5:437:36 | madCallReturnValueIgnoreFunction |
32
+ | tests.cpp:459:5:459:31 | parameter_ref_to_return_ref |
32
33
sourceCallables
33
34
| tests.cpp:3:5:3:10 | source |
34
35
| tests.cpp:4:6:4:14 | sourcePtr |
@@ -223,7 +224,6 @@ sourceCallables
223
224
| tests.cpp:457:8:457:35 | StructWithTypedefInParameter<int> |
224
225
| tests.cpp:458:12:458:15 | Type |
225
226
| tests.cpp:459:5:459:31 | parameter_ref_to_return_ref |
226
- | tests.cpp:459:5:459:31 | parameter_ref_to_return_ref |
227
227
| tests.cpp:459:45:459:45 | x |
228
228
| tests.cpp:459:45:459:45 | x |
229
229
| tests.cpp:462:6:462:37 | test_parameter_ref_to_return_ref |
Original file line number Diff line number Diff line change @@ -456,12 +456,12 @@ void test_function_pointers() {
456
456
template <typename X>
457
457
struct StructWithTypedefInParameter {
458
458
typedef X Type;
459
- X& parameter_ref_to_return_ref (const Type& x); // $ MISSING: interpretElement
459
+ X& parameter_ref_to_return_ref (const Type& x); // $ interpretElement
460
460
};
461
461
462
462
void test_parameter_ref_to_return_ref () {
463
463
int x = source ();
464
464
StructWithTypedefInParameter<int > s;
465
465
int y = s.parameter_ref_to_return_ref (x);
466
- sink (y); // $ MISSING: ir
466
+ sink (y); // $ ir
467
467
}
You can’t perform that action at this time.
0 commit comments