File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ void goto_programt::instructiont::validate(
687
687
has_target (),
688
688
" goto instruction expects at least one target" ,
689
689
source_location);
690
- // get_target checks that targets.size()==1
690
+ // get_target checks that targets.size()==1
691
691
DATA_CHECK_WITH_DIAGNOSTICS (
692
692
get_target ()->is_target () && get_target ()->target_number != 0 ,
693
693
" goto target has to be a target" ,
Original file line number Diff line number Diff line change @@ -219,17 +219,17 @@ bool evaluates_to_boolean(const exprt &e)
219
219
if (e.id () == ID_typecast)
220
220
return e.type ().id () == ID_bool;
221
221
222
- // Boolean constants
222
+ // Boolean constants
223
223
if (e.id () == ID_true || e.id () == ID_false)
224
224
return true ;
225
225
if (e.id () == ID_constant)
226
226
return true ;
227
227
228
- // Symbols
228
+ // Symbols
229
229
if (e.id () == ID_symbol)
230
230
return true ;
231
231
232
- // arithmetic relations
232
+ // Arithmetic relations
233
233
if (e.id () == ID_equal || e.id () == ID_notequal)
234
234
return true ;
235
235
if (e.id () == ID_ieee_float_equal || e.id () == ID_ieee_float_notequal)
@@ -239,15 +239,15 @@ bool evaluates_to_boolean(const exprt &e)
239
239
if (e.id () == ID_le || e.id () == ID_lt)
240
240
return true ;
241
241
242
- // propositional operators
242
+ // Propositional operators
243
243
if (
244
244
e.id () == ID_not || e.id () == ID_and || e.id () == ID_or ||
245
245
e.id () == ID_implies)
246
246
return true ;
247
247
if (e.id () == ID_exists || e.id () == ID_forall)
248
248
return true ;
249
249
250
- // weird
250
+ // Other
251
251
if (
252
252
e.id () == ID_isfinite || e.id () == ID_isnormal || e.id () == ID_isinf ||
253
253
e.id () == ID_isnan)
Original file line number Diff line number Diff line change
1
+ goto-programs
2
+ testing-utils
3
+ util
You can’t perform that action at this time.
0 commit comments