Use -> arrow for the return types
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user