22
22
23
23
void mini_bdd_nodet::remove_reference ()
24
24
{
25
+ // NOLINTNEXTLINE(build/deprecated)
25
26
assert (reference_counter!=0 );
26
27
27
28
reference_counter--;
@@ -208,7 +209,9 @@ class mini_bdd_applyt
208
209
209
210
mini_bddt mini_bdd_applyt::APP_rec (const mini_bddt &x, const mini_bddt &y)
210
211
{
212
+ // NOLINTNEXTLINE(build/deprecated)
211
213
assert (x.is_initialized () && y.is_initialized ());
214
+ // NOLINTNEXTLINE(build/deprecated)
212
215
assert (x.node ->mgr ==y.node ->mgr );
213
216
214
217
// dynamic programming
@@ -270,7 +273,9 @@ mini_bddt mini_bdd_applyt::APP_non_rec(
270
273
auto &t=stack.top ();
271
274
const mini_bddt &x=t.x ;
272
275
const mini_bddt &y=t.y ;
276
+ // NOLINTNEXTLINE(build/deprecated)
273
277
assert (x.is_initialized () && y.is_initialized ());
278
+ // NOLINTNEXTLINE(build/deprecated)
274
279
assert (x.node ->mgr ==y.node ->mgr );
275
280
276
281
switch (t.phase )
@@ -297,9 +302,13 @@ mini_bddt mini_bdd_applyt::APP_non_rec(
297
302
{
298
303
t.var =x.var ();
299
304
t.phase =stack_elementt::phaset::FINISH;
305
+ // NOLINTNEXTLINE(build/deprecated)
300
306
assert (x.low ().var ()>t.var );
307
+ // NOLINTNEXTLINE(build/deprecated)
301
308
assert (y.low ().var ()>t.var );
309
+ // NOLINTNEXTLINE(build/deprecated)
302
310
assert (x.high ().var ()>t.var );
311
+ // NOLINTNEXTLINE(build/deprecated)
303
312
assert (y.high ().var ()>t.var );
304
313
stack.push (stack_elementt (t.lr , x.low (), y.low ()));
305
314
stack.push (stack_elementt (t.hr , x.high (), y.high ()));
@@ -308,7 +317,9 @@ mini_bddt mini_bdd_applyt::APP_non_rec(
308
317
{
309
318
t.var =x.var ();
310
319
t.phase =stack_elementt::phaset::FINISH;
320
+ // NOLINTNEXTLINE(build/deprecated)
311
321
assert (x.low ().var ()>t.var );
322
+ // NOLINTNEXTLINE(build/deprecated)
312
323
assert (x.high ().var ()>t.var );
313
324
stack.push (stack_elementt (t.lr , x.low (), y));
314
325
stack.push (stack_elementt (t.hr , x.high (), y));
@@ -317,7 +328,9 @@ mini_bddt mini_bdd_applyt::APP_non_rec(
317
328
{
318
329
t.var =y.var ();
319
330
t.phase =stack_elementt::phaset::FINISH;
331
+ // NOLINTNEXTLINE(build/deprecated)
320
332
assert (y.low ().var ()>t.var );
333
+ // NOLINTNEXTLINE(build/deprecated)
321
334
assert (y.high ().var ()>t.var );
322
335
stack.push (stack_elementt (t.lr , x, y.low ()));
323
336
stack.push (stack_elementt (t.hr , x, y.high ()));
@@ -337,6 +350,7 @@ mini_bddt mini_bdd_applyt::APP_non_rec(
337
350
}
338
351
}
339
352
353
+ // NOLINTNEXTLINE(build/deprecated)
340
354
assert (u.is_initialized ());
341
355
342
356
return u;
@@ -364,6 +378,7 @@ mini_bddt mini_bddt::operator^(const mini_bddt &other) const
364
378
365
379
mini_bddt mini_bddt::operator !() const
366
380
{
381
+ // NOLINTNEXTLINE(build/deprecated)
367
382
assert (is_initialized ());
368
383
return node->mgr ->True ()^*this ;
369
384
}
@@ -406,8 +421,11 @@ mini_bddt mini_bdd_mgrt::mk(
406
421
const mini_bddt &low,
407
422
const mini_bddt &high)
408
423
{
424
+ // NOLINTNEXTLINE(build/deprecated)
409
425
assert (var<=var_table.size ());
426
+ // NOLINTNEXTLINE(build/deprecated)
410
427
assert (low.var ()>var);
428
+ // NOLINTNEXTLINE(build/deprecated)
411
429
assert (high.var ()>var);
412
430
413
431
if (low.node_number ()==high.node_number ())
@@ -501,6 +519,7 @@ mini_bddt restrictt::RES(const mini_bddt &u)
501
519
{
502
520
// replace 'var' in 'u' by constant 'value'
503
521
522
+ // NOLINTNEXTLINE(build/deprecated)
504
523
assert (u.is_initialized ());
505
524
mini_bdd_mgrt *mgr=u.node ->mgr ;
506
525
0 commit comments