mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
inherit more exceptions from std::exception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a38bf3e22f
commit
abd16740ce
11 changed files with 12 additions and 12 deletions
|
@ -147,7 +147,7 @@ namespace smt {
|
|||
return m_inv;
|
||||
}
|
||||
|
||||
struct is_model_value {};
|
||||
struct is_model_value : public std::exception {};
|
||||
void operator()(expr* n) {
|
||||
if (m.is_model_value(n)) {
|
||||
throw is_model_value();
|
||||
|
@ -540,7 +540,7 @@ namespace smt {
|
|||
return !contains_array(e);
|
||||
}
|
||||
|
||||
struct found_array {};
|
||||
struct found_array : public std::exception {};
|
||||
expr_mark m_visited;
|
||||
void operator()(expr* n) {
|
||||
if (m_array.is_array(n))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue