Allow comparing all pointer types to nil
This commit is contained in:
@ -650,9 +650,10 @@ namespace boot
|
||||
class program : public block
|
||||
{
|
||||
public:
|
||||
std::vector<definition *> type_definitions;
|
||||
std::vector<type_definition *> types;
|
||||
std::vector<procedure_definition *> procedures;
|
||||
|
||||
program(const struct position position, std::vector<definition *>&& type_definitions);
|
||||
program(const struct position position);
|
||||
virtual void accept(parser_visitor *visitor) override;
|
||||
|
||||
virtual ~program() override;
|
||||
|
@ -24,6 +24,7 @@ namespace gcc
|
||||
{
|
||||
void init_ttree();
|
||||
bool is_pointer_type(tree type);
|
||||
bool are_compatible_pointers(tree lhs, tree rhs);
|
||||
|
||||
class tree_chain_base
|
||||
{
|
||||
|
Reference in New Issue
Block a user