File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed
src/solvers/smt2_incremental Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,10 @@ void smt_logict::accept(smt_logic_const_downcast_visitort &&visitor) const
41
41
::accept (*this , id(), std::move(visitor));
42
42
}
43
43
44
- smt_logic_quantifier_free_bit_vectorst::smt_logic_quantifier_free_bit_vectorst ()
45
- : smt_logict{ID_smt_logic_quantifier_free_bit_vectors}
46
- {
47
- }
44
+ #define LOGIC_ID (the_id ) \
45
+ smt_logic_##the_id##t::smt_logic_##the_id##t() \
46
+ : smt_logict{ID_smt_logic_##the_id} \
47
+ { \
48
+ }
49
+ #include " smt_logics.def"
50
+ #undef LOGIC_ID
Original file line number Diff line number Diff line change @@ -61,11 +61,15 @@ const smt_logict &smt_logict::storert<derivedt>::downcast(const irept &irep)
61
61
return static_cast <const smt_logict &>(irep);
62
62
}
63
63
64
- class smt_logic_quantifier_free_bit_vectorst : public smt_logict
65
- {
66
- public:
67
- smt_logic_quantifier_free_bit_vectorst ();
68
- };
64
+ #define LOGIC_ID (the_id ) \
65
+ /* NOLINTNEXTLINE(readability/identifiers) cpplint does not match the ## */ \
66
+ class smt_logic_ ##the_id##t : public smt_logict \
67
+ { \
68
+ public: \
69
+ smt_logic_##the_id##t(); \
70
+ };
71
+ #include " smt_logics.def"
72
+ #undef LOGIC_ID
69
73
70
74
class smt_logic_const_downcast_visitort
71
75
{
You can’t perform that action at this time.
0 commit comments