Use -> arrow for the return types

This commit is contained in:
2025-02-12 13:32:59 +01:00
parent cd949c4be7
commit f991686330
7 changed files with 60 additions and 46 deletions

View File

@ -323,7 +323,7 @@ namespace gcc
void generic_visitor::visit(boot::number_literal<bool> *boolean)
{
this->current_expression = build_int_cst_type(elna_bool_type_node, boolean->number());
this->current_expression = boolean->number() ? boolean_true_node : boolean_false_node;
}
void generic_visitor::visit(boot::number_literal<unsigned char> *character)
@ -333,7 +333,7 @@ namespace gcc
void generic_visitor::visit(boot::number_literal<nullptr_t> *)
{
this->current_expression = null_pointer_node;
this->current_expression = elna_pointer_nil_node;
}
void generic_visitor::visit(boot::number_literal<std::string> *string)