File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ void goto_inlinet::parameter_assignments(
5757
5858 const irep_idt &identifier=parameter.get_identifier ();
5959
60- if (identifier== irep_idt ())
60+ if (identifier. empty ())
6161 {
6262 error ().source_location =source_location;
6363 error () << " no identifier for function parameter" << eom;
@@ -182,7 +182,7 @@ void goto_inlinet::parameter_destruction(
182182
183183 const irep_idt &identifier=parameter.get_identifier ();
184184
185- if (identifier== irep_idt ())
185+ if (identifier. empty ())
186186 {
187187 error ().source_location =source_location;
188188 error () << " no identifier for function parameter" << eom;
@@ -328,13 +328,13 @@ void replace_location(
328328
329329 dest=new_location;
330330
331- if (comment!= irep_idt ())
331+ if (!comment. empty ())
332332 dest.set_comment (comment);
333333
334- if (property_class!= irep_idt ())
334+ if (!property_class. empty ())
335335 dest.set_property_class (property_class);
336336
337- if (property_id!= irep_idt ())
337+ if (!property_id. empty ())
338338 dest.set_property_id (property_id);
339339}
340340
You can’t perform that action at this time.
0 commit comments