Commit da0db014 authored by Michael Beck's avatar Michael Beck
Browse files

Make remove_compound_member() an official API method.

Needed by edgjfe.
parent dc27e8af
......@@ -2124,6 +2124,9 @@ FIRM_API ir_entity *get_compound_member(const ir_type *tp, size_t pos);
/** Returns index of member in tp, -1 if not contained. */
FIRM_API size_t get_compound_member_index(const ir_type *tp, ir_entity *member);
/** Remove a member from a compound type. */
FIRM_API void remove_compound_member(ir_type *compound, ir_entity *entity);
/**
* layout members of a struct/union or class type in a default way.
*/
......
......@@ -284,7 +284,6 @@ void set_class_dfn(ir_type *clss, int dfn);
int get_class_dfn(const ir_type *clss);
void add_compound_member(ir_type *compound, ir_entity *entity);
void remove_compound_member(ir_type *compound, ir_entity *entity);
/** Initialize the type module. */
void ir_init_type(void);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment