Skip to content

Commit c73a4a8

Browse files
committed
Clean up comments
1 parent 327ceeb commit c73a4a8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/cppfront.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,6 @@ class cppfront
13831383
if (is_expression) {
13841384
printer.print_cpp2("()", n.close_brace);
13851385
}
1386-
//printer.print_cpp2("\n", n.close_brace);
13871386
}
13881387

13891388

@@ -1992,8 +1991,8 @@ class cppfront
19921991
assert (prefix_expr);
19931992
static_assert (std::is_same_v<prefix_expression_node*, decltype(prefix_expr)>);
19941993

1995-
// In the future we'll distinguish type_id better, but for now
1996-
// "identifier or id_expression w/o ops" works well enough
1994+
// Hack: In the future we'll distinguish type_id better, but for now
1995+
// "identifier or id_expression w/o ops" works well enough
19971996
//
19981997
// If it's "is type", emit "cpp2::is<type>(expr)"
19991998
if (prefix_expr->ops.empty() && // no prefix ops

0 commit comments

Comments
 (0)