File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ namespace_baset::follow_tag(const c_enum_tag_typet &src) const
9292 return to_c_enum_type (symbol.type );
9393}
9494
95- const struct_union_typet &namespace_baset::follow_struct_or_union_tag (
96- const struct_or_union_tag_typet &src) const
95+ // / Resolve a `struct_tag_typet` or `union_tag_typet` to the complete version.
96+ const struct_union_typet &
97+ namespace_baset::follow_tag (const struct_or_union_tag_typet &src) const
9798{
9899 const symbolt &symbol = lookup (src.get_identifier ());
99100 CHECK_RETURN (symbol.is_type );
Original file line number Diff line number Diff line change @@ -64,15 +64,10 @@ class namespace_baset
6464 DEPRECATED (SINCE(2024 , 2 , 19 , " use follow_tag(...) instead" ))
6565 const typet &follow (const typet &) const ;
6666
67- // These produce union_typet, struct_typet, c_enum_typet or
68- // the incomplete version.
6967 const union_typet &follow_tag (const union_tag_typet &) const ;
7068 const struct_typet &follow_tag (const struct_tag_typet &) const ;
7169 const c_enum_typet &follow_tag (const c_enum_tag_typet &) const ;
72-
73- // / Resolve a `struct_tag_typet` or `union_tag_typet` to the complete version.
74- const struct_union_typet &
75- follow_struct_or_union_tag (const struct_or_union_tag_typet &) const ;
70+ const struct_union_typet &follow_tag (const struct_or_union_tag_typet &) const ;
7671
7772 // / Returns the minimal integer n such that there is no symbol (in any of the
7873 // / symbol tables) whose name is of the form "An" where A is \p prefix.
You can’t perform that action at this time.
0 commit comments