File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1141,7 +1141,7 @@ Function: linkingt::do_type_dependencies
1141
1141
1142
1142
void linkingt::do_type_dependencies (id_sett &needs_to_be_renamed)
1143
1143
{
1144
- // Any type that uses a type that will be renamed also
1144
+ // Any type that uses a symbol that will be renamed also
1145
1145
// needs to be renamed, and so on, until saturation.
1146
1146
1147
1147
used_byt used_by;
@@ -1150,12 +1150,13 @@ void linkingt::do_type_dependencies(id_sett &needs_to_be_renamed)
1150
1150
{
1151
1151
if (s_it->second .is_type )
1152
1152
{
1153
- find_symbols_sett type_symbols_used;
1154
- find_type_symbols (s_it->second .type , type_symbols_used);
1153
+ // find type and array-size symbols
1154
+ find_symbols_sett symbols_used;
1155
+ find_type_and_expr_symbols (s_it->second .type , symbols_used);
1155
1156
1156
1157
for (find_symbols_sett::const_iterator
1157
- it=type_symbols_used .begin ();
1158
- it!=type_symbols_used .end ();
1158
+ it=symbols_used .begin ();
1159
+ it!=symbols_used .end ();
1159
1160
it++)
1160
1161
{
1161
1162
used_by[*it].insert (s_it->first );
You can’t perform that action at this time.
0 commit comments