BV instantiator: Factor out util functions. (#2604)
authorAina Niemetz <aina.niemetz@gmail.com>
Tue, 9 Oct 2018 02:44:22 +0000 (19:44 -0700)
committerGitHub <noreply@github.com>
Tue, 9 Oct 2018 02:44:22 +0000 (19:44 -0700)
commit0d310d6716d1ab679cd466a2e47e5c0f6cdd8569
tree146e3a070038a6d847204c5f4173d9a3bf7b619d
parenta1c9b7408ee47ea69ef9866cdac75f839c14bc8d
BV instantiator: Factor out util functions. (#2604)

Previously, all util functions for the BV instantiator were static functions
in theory/quantifiers/cegqi/ceg_bv_instantiator.cpp. For the corresponding
unit test, it was therefore required to include this cpp file in order to
test these functions. This factors out these functions into a
theory/quantifiers/cegqi/ceg_bv_instantiator_utils.(cpp|h).

Asan reported errors for the corresponing unit test because of this.
src/CMakeLists.txt
src/Makefile.am
src/theory/quantifiers/cegqi/ceg_bv_instantiator.cpp
src/theory/quantifiers/cegqi/ceg_bv_instantiator_utils.cpp [new file with mode: 0644]
src/theory/quantifiers/cegqi/ceg_bv_instantiator_utils.h [new file with mode: 0644]
test/unit/theory/theory_quantifiers_bv_instantiator_white.h