@@ -1130,7 +1130,8 @@ class bv_typet:public bitvector_typet
1130
1130
const typet &type,
1131
1131
const validation_modet vm = validation_modet::INVARIANT)
1132
1132
{
1133
- DATA_CHECK (!type.get (ID_width).empty (), " bitvector type must have width" );
1133
+ DATA_CHECK (
1134
+ vm, !type.get (ID_width).empty (), " bitvector type must have width" );
1134
1135
}
1135
1136
};
1136
1137
@@ -1241,7 +1242,7 @@ class signedbv_typet:public bitvector_typet
1241
1242
const validation_modet vm = validation_modet::INVARIANT)
1242
1243
{
1243
1244
DATA_CHECK (
1244
- !type.get (ID_width).empty (), " signed bitvector type must have width" );
1245
+ vm, !type.get (ID_width).empty (), " signed bitvector type must have width" );
1245
1246
}
1246
1247
};
1247
1248
@@ -1305,7 +1306,7 @@ class fixedbv_typet:public bitvector_typet
1305
1306
const validation_modet vm = validation_modet::INVARIANT)
1306
1307
{
1307
1308
DATA_CHECK (
1308
- !type.get (ID_width).empty (), " fixed bitvector type must have width" );
1309
+ vm, !type.get (ID_width).empty (), " fixed bitvector type must have width" );
1309
1310
}
1310
1311
};
1311
1312
@@ -1367,7 +1368,7 @@ class floatbv_typet:public bitvector_typet
1367
1368
const validation_modet vm = validation_modet::INVARIANT)
1368
1369
{
1369
1370
DATA_CHECK (
1370
- !type.get (ID_width).empty (), " float bitvector type must have width" );
1371
+ vm, !type.get (ID_width).empty (), " float bitvector type must have width" );
1371
1372
}
1372
1373
};
1373
1374
@@ -1469,7 +1470,7 @@ class pointer_typet:public bitvector_typet
1469
1470
const typet &type,
1470
1471
const validation_modet vm = validation_modet::INVARIANT)
1471
1472
{
1472
- DATA_CHECK (!type.get (ID_width).empty (), " pointer must have width" );
1473
+ DATA_CHECK (vm, !type.get (ID_width).empty (), " pointer must have width" );
1473
1474
}
1474
1475
};
1475
1476
@@ -1567,7 +1568,7 @@ class c_bool_typet:public bitvector_typet
1567
1568
const typet &type,
1568
1569
const validation_modet vm = validation_modet::INVARIANT)
1569
1570
{
1570
- DATA_CHECK (!type.get (ID_width).empty (), " C bool type must have width" );
1571
+ DATA_CHECK (vm, !type.get (ID_width).empty (), " C bool type must have width" );
1571
1572
}
1572
1573
};
1573
1574
0 commit comments