File tree 1 file changed +16
-0
lines changed 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,16 @@ bool replace_symbolt::replace(
104
104
result=false ;
105
105
}
106
106
107
+ const irept &type_arg=dest.find (ID_type_arg);
108
+
109
+ if (type_arg.is_not_nil ())
110
+ {
111
+ typet &type=static_cast <typet &>(dest.add (ID_type_arg));
112
+
113
+ if (!replace (type))
114
+ result=false ;
115
+ }
116
+
107
117
const irept &va_arg_type=dest.find (ID_C_va_arg_type);
108
118
109
119
if (va_arg_type.is_not_nil ())
@@ -139,6 +149,12 @@ bool replace_symbolt::have_to_replace(const exprt &dest) const
139
149
if (have_to_replace (static_cast <const typet &>(c_sizeof_type)))
140
150
return true ;
141
151
152
+ const irept &type_arg=dest.find (ID_type_arg);
153
+
154
+ if (type_arg.is_not_nil ())
155
+ if (have_to_replace (static_cast <const typet &>(type_arg)))
156
+ return true ;
157
+
142
158
const irept &va_arg_type=dest.find (ID_C_va_arg_type);
143
159
144
160
if (va_arg_type.is_not_nil ())
You can’t perform that action at this time.
0 commit comments