Skip to content

Commit 9e0b7c4

Browse files
committed
refactor(to_cpp1): remove stale non-rvalue context
1 parent 095be49 commit 9e0b7c4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/to_cpp1.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,9 +2203,7 @@ class cppfront
22032203
emit(*n.condition);
22042204
printer.print_cpp2("; ", n.position());
22052205
printer.add_pad_in_this_line(-10);
2206-
in_non_rvalue_context.push_back(true);
22072206
emit(*n.next_expression);
2208-
in_non_rvalue_context.pop_back();
22092207
}
22102208
printer.print_cpp2(" ) ", n.position());
22112209
if (!labelname.empty()) {

0 commit comments

Comments
 (0)