Skip to content

Commit 9447d2b

Browse files
Petr BauchPetr Bauch
Petr Bauch
authored and
Petr Bauch
committed
Appease CI with module_dependencies and spaces
1 parent 37e570b commit 9447d2b

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/goto-programs/goto_program.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ void goto_programt::instructiont::validate(
687687
has_target(),
688688
"goto instruction expects at least one target",
689689
source_location);
690-
//get_target checks that targets.size()==1
690+
// get_target checks that targets.size()==1
691691
DATA_CHECK_WITH_DIAGNOSTICS(
692692
get_target()->is_target() && get_target()->target_number != 0,
693693
"goto target has to be a target",

src/util/std_expr.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,17 @@ bool evaluates_to_boolean(const exprt &e)
219219
if(e.id() == ID_typecast)
220220
return e.type().id() == ID_bool;
221221

222-
//Boolean constants
222+
// Boolean constants
223223
if(e.id() == ID_true || e.id() == ID_false)
224224
return true;
225225
if(e.id() == ID_constant)
226226
return true;
227227

228-
//Symbols
228+
// Symbols
229229
if(e.id() == ID_symbol)
230230
return true;
231231

232-
//arithmetic relations
232+
// Arithmetic relations
233233
if(e.id() == ID_equal || e.id() == ID_notequal)
234234
return true;
235235
if(e.id() == ID_ieee_float_equal || e.id() == ID_ieee_float_notequal)
@@ -239,15 +239,15 @@ bool evaluates_to_boolean(const exprt &e)
239239
if(e.id() == ID_le || e.id() == ID_lt)
240240
return true;
241241

242-
//propositional operators
242+
// Propositional operators
243243
if(
244244
e.id() == ID_not || e.id() == ID_and || e.id() == ID_or ||
245245
e.id() == ID_implies)
246246
return true;
247247
if(e.id() == ID_exists || e.id() == ID_forall)
248248
return true;
249249

250-
//weird
250+
// Other
251251
if(
252252
e.id() == ID_isfinite || e.id() == ID_isnormal || e.id() == ID_isinf ||
253253
e.id() == ID_isnan)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
goto-programs
2+
testing-utils
3+
util

0 commit comments

Comments
 (0)