mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
reduce number of redundant arguments and pointers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
44d2f6da6c
commit
e8c3324c3f
9 changed files with 19 additions and 20 deletions
|
@ -46,15 +46,14 @@ inline llc negate(llc cmp) {
|
|||
class core;
|
||||
class intervals;
|
||||
struct common {
|
||||
core* m_core;
|
||||
core& m_core;
|
||||
nex_creator m_nex_creator;
|
||||
intervals* m_intervals;
|
||||
|
||||
common(core* c, intervals* i): m_core(c), m_intervals(i) {}
|
||||
core& c() { return *m_core; }
|
||||
const core& c() const { return *m_core; }
|
||||
core& _() { return *m_core; }
|
||||
const core& _() const { return *m_core; }
|
||||
common(core* c): m_core(*c) {}
|
||||
core& c() { return m_core; }
|
||||
const core& c() const { return m_core; }
|
||||
core& _() { return m_core; }
|
||||
const core& _() const { return m_core; }
|
||||
|
||||
template <typename T> rational val(T const& t) const;
|
||||
rational val(lpvar) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue