@@ -242,7 +242,7 @@ void rw_range_sett::get_objects_index(
242242 const range_spect &range_start,
243243 const range_spect &size)
244244{
245- if (expr.array ().id ()== " NULL-object " )
245+ if (expr.array ().id () == ID_null_object )
246246 return ;
247247
248248 range_spect sub_size=0 ;
@@ -413,10 +413,10 @@ void rw_range_sett::get_objects_typecast(
413413
414414void rw_range_sett::get_objects_address_of (const exprt &object)
415415{
416- if (object.id ()== ID_string_constant ||
417- object.id ()== ID_label ||
418- object.id ()== ID_array ||
419- object.id ()== " NULL-object " )
416+ if (object.id () == ID_string_constant ||
417+ object.id () == ID_label ||
418+ object.id () == ID_array ||
419+ object.id () == ID_null_object )
420420 // constant, nothing to do
421421 return ;
422422 else if (object.id ()==ID_symbol)
@@ -558,8 +558,8 @@ void rw_range_sett::get_objects_rec(
558558 forall_operands (it, expr)
559559 get_objects_rec (mode, *it);
560560 }
561- else if (expr.id ()== " NULL-object " ||
562- expr.id ()== ID_string_constant)
561+ else if (expr.id () == ID_null_object ||
562+ expr.id () == ID_string_constant)
563563 {
564564 // dereferencing may yield some weird ones, ignore these
565565 }
0 commit comments