|
@@ -396,8 +396,8 @@ void check_add_import_decl(CheckerContext *c, Ast *decl);
|
|
void check_add_foreign_import_decl(CheckerContext *c, Ast *decl);
|
|
void check_add_foreign_import_decl(CheckerContext *c, Ast *decl);
|
|
|
|
|
|
|
|
|
|
-void check_entity_decl(CheckerContext *c, Entity *&e, DeclInfo *d, Type *named_type);
|
|
|
|
-void check_const_decl(CheckerContext *c, Entity *&e, Ast *type_expr, Ast *init_expr, Type *named_type);
|
|
|
|
|
|
+void check_entity_decl(CheckerContext *c, Entity *e, DeclInfo *d, Type *named_type);
|
|
|
|
+void check_const_decl(CheckerContext *c, Entity *e, Ast *type_expr, Ast *init_expr, Type *named_type);
|
|
void check_type_decl(CheckerContext *c, Entity *e, Ast *type_expr, Type *def);
|
|
void check_type_decl(CheckerContext *c, Entity *e, Ast *type_expr, Type *def);
|
|
|
|
|
|
bool check_arity_match(CheckerContext *c, AstValueDecl *vd, bool is_global = false);
|
|
bool check_arity_match(CheckerContext *c, AstValueDecl *vd, bool is_global = false);
|