Skip to content

Commit 17a50c5

Browse files
committed
Revert "Apply symbol replacement in type_arg members"
This reverts commit d1f617b.
1 parent 016ad92 commit 17a50c5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/util/replace_symbol.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ bool replace_symbolt::replace(
100100
if(c_sizeof_type.is_not_nil() && have_to_replace(c_sizeof_type))
101101
result &= replace(static_cast<typet&>(dest.add(ID_C_c_sizeof_type)));
102102

103-
const typet &type_arg = static_cast<const typet &>(dest.find(ID_type_arg));
104-
if(type_arg.is_not_nil() && have_to_replace(type_arg))
105-
result &= replace(static_cast<typet &>(dest.add(ID_type_arg)));
106-
107103
const typet &va_arg_type =
108104
static_cast<const typet&>(dest.find(ID_C_va_arg_type));
109105
if(va_arg_type.is_not_nil() && have_to_replace(va_arg_type))
@@ -140,12 +136,6 @@ bool replace_symbolt::have_to_replace(const exprt &dest) const
140136
if(have_to_replace(static_cast<const typet &>(c_sizeof_type)))
141137
return true;
142138

143-
const irept &type_arg = dest.find(ID_type_arg);
144-
145-
if(type_arg.is_not_nil())
146-
if(have_to_replace(static_cast<const typet &>(type_arg)))
147-
return true;
148-
149139
const irept &va_arg_type=dest.find(ID_C_va_arg_type);
150140

151141
if(va_arg_type.is_not_nil())

0 commit comments

Comments
 (0)