We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7300d07 commit 80ba3cfCopy full SHA for 80ba3cf
src/util/rename_symbol.cpp
@@ -133,6 +133,9 @@ Function: rename_symbolt::have_to_rename
133
134
bool rename_symbolt::have_to_rename(const exprt &dest) const
135
{
136
+ if(expr_map.empty() && type_map.empty())
137
+ return false;
138
+
139
// first look at type
140
141
if(have_to_rename(dest.type()))
@@ -274,6 +277,9 @@ Function: rename_symbolt::have_to_rename
274
277
275
278
bool rename_symbolt::have_to_rename(const typet &dest) const
276
279
280
281
282
283
if(dest.has_subtype())
284
if(have_to_rename(dest.subtype()))
285
return true;
0 commit comments