File tree 2 files changed +4
-4
lines changed
regression-tests/test-results
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
2
- cppfront compiler - v0.2.1, build 8427:1621
2
+ cppfront compiler - v0.2.1, build 8428:0755
3
3
Copyright(c) Herb Sutter, all rights reserved
4
4
5
5
SPDX-License-Identifier: CC-BY-NC-ND-4.0
Original file line number Diff line number Diff line change @@ -3785,7 +3785,7 @@ class cppfront
3785
3785
assert (type_name);
3786
3786
3787
3787
printer.print_cpp2 (
3788
- type_name-> to_string ( true ) + pass + " that" ,
3788
+ print_to_string ( *type_name ) + pass + " that" ,
3789
3789
n.position ()
3790
3790
);
3791
3791
return ;
@@ -4143,7 +4143,7 @@ class cppfront
4143
4143
&& n.my_decl ->parent_declaration ->name ()
4144
4144
);
4145
4145
printer.print_cpp2 (
4146
- " -> " + n.my_decl ->parent_declaration ->name ()-> to_string ( true ) + " & " ,
4146
+ " -> " + print_to_string ( * n.my_decl ->parent_declaration ->name () ) + " & " ,
4147
4147
n.position ()
4148
4148
);
4149
4149
}
@@ -4583,7 +4583,7 @@ class cppfront
4583
4583
if (is_object_before_base) {
4584
4584
assert (is_object_before_base->name ());
4585
4585
object_name =
4586
- is_object_before_base->parent_declaration ->name ()-> to_string ( true )
4586
+ print_to_string ( * is_object_before_base->parent_declaration ->name () )
4587
4587
+ " _"
4588
4588
+ (*object)->name ()->to_string (true )
4589
4589
+ " _as_base" ;
You can’t perform that action at this time.
0 commit comments