Use colon instead of as to cast
This commit is contained in:
@ -56,6 +56,10 @@ namespace gcc
|
||||
tree build_logic_operation(boot::binary_expression *expression,
|
||||
tree_code operator_code, tree left, tree right);
|
||||
tree build_equality_operation(boot::binary_expression *expression, tree left, tree right);
|
||||
void build_procedure_call(location_t call_location,
|
||||
tree symbol, const std::vector<boot::expression *>& arguments);
|
||||
void build_record_call(location_t call_location,
|
||||
tree symbol, const std::vector<boot::expression *>& arguments);
|
||||
|
||||
public:
|
||||
generic_visitor(std::shared_ptr<boot::symbol_table<tree>> symbol_table);
|
||||
|
@ -46,7 +46,14 @@ namespace gcc
|
||||
* \param rhs Right hand value.
|
||||
* \return Whether rhs can be assigned to lhs.
|
||||
*/
|
||||
bool are_compatible_pointers(tree lhs, tree rhs);
|
||||
bool are_compatible_pointers(tree lhs_type, tree rhs);
|
||||
|
||||
/**
|
||||
* \param assignee Assignee.
|
||||
* \param assignee Assignment.
|
||||
* \return Whether an expression assignment can be assigned to a variable of type assignee.
|
||||
*/
|
||||
bool is_assignable_from(tree assignee, tree assignment);
|
||||
|
||||
void append_statement(tree statement_tree);
|
||||
void defer(tree statement_tree);
|
||||
|
Reference in New Issue
Block a user