File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88void missingPop () {
99 jl_value_t *x = NULL ;
1010 JL_GC_PUSH1 (&x); // expected-note{{GC frame changed here}}
11- } // expected-warning{{Non-popped GC frame present at end of function}}
12- // expected-note@-1 {{Non-popped GC frame present at end of function}}
11+ } // expected-warning@-1 {{Non-popped GC frame present at end of function}}
12+ // expected-note@-2 {{Non-popped GC frame present at end of function}}
1313
1414
1515void missingPop2 () {
1616 jl_value_t **x;
1717 JL_GC_PUSHARGS (x, 2 ); // expected-note{{GC frame changed here}}
18- } // expected-warning{{Non-popped GC frame present at end of function}}
19- // expected-note@-1 {{Non-popped GC frame present at end of function}}
18+ } // expected-warning@-1 {{Non-popped GC frame present at end of function}}
19+ // expected-note@-2 {{Non-popped GC frame present at end of function}}
2020
2121void superfluousPop () {
2222 JL_GC_POP (); // expected-warning{{JL_GC_POP without corresponding push}}
You can’t perform that action at this time.
0 commit comments