mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
add noexcept
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
42894f729a
commit
407bad3693
4 changed files with 8 additions and 8 deletions
|
@ -29,7 +29,7 @@ Revision History:
|
|||
|
||||
|
||||
class overflow_exception : public z3_exception {
|
||||
char const* what() const override { return "checked_int64 overflow/underflow"; }
|
||||
char const* what() const noexcept override { return "checked_int64 overflow/underflow"; }
|
||||
};
|
||||
|
||||
template<bool CHECK>
|
||||
|
|
|
@ -182,15 +182,15 @@ public:
|
|||
static bool field() { return true; }
|
||||
|
||||
class exception : public z3_exception {
|
||||
char const * what() const override { return "multi-precision floating point (mpff) exception"; }
|
||||
char const * what() const noexcept override { return "multi-precision floating point (mpff) exception"; }
|
||||
};
|
||||
|
||||
class overflow_exception : public exception {
|
||||
char const * what() const override { return "multi-precision floating point (mpff) overflow"; }
|
||||
char const * what() const noexcept override { return "multi-precision floating point (mpff) overflow"; }
|
||||
};
|
||||
|
||||
class div0_exception : public exception {
|
||||
char const * what() const override { return "multi-precision floating point (mpff) division by zero"; }
|
||||
char const * what() const noexcept override { return "multi-precision floating point (mpff) division by zero"; }
|
||||
};
|
||||
|
||||
mpff_manager(unsigned prec = 2, unsigned initial_capacity = 1024);
|
||||
|
|
|
@ -129,15 +129,15 @@ public:
|
|||
static bool field() { return true; }
|
||||
|
||||
class exception : public z3_exception {
|
||||
char const * what() const override { return "multi-precision fixed point (mpfx) exception"; }
|
||||
char const * what() const noexcept override { return "multi-precision fixed point (mpfx) exception"; }
|
||||
};
|
||||
|
||||
class overflow_exception : public exception {
|
||||
char const * what() const override { return "multi-precision fixed point (mpfx) overflow"; }
|
||||
char const * what() const noexcept override { return "multi-precision fixed point (mpfx) overflow"; }
|
||||
};
|
||||
|
||||
class div0_exception : public exception {
|
||||
char const * what() const override { return "multi-precision fixed point (mpfx) division by zero"; }
|
||||
char const * what() const noexcept override { return "multi-precision fixed point (mpfx) division by zero"; }
|
||||
};
|
||||
|
||||
mpfx_manager(unsigned int_sz = 2, unsigned frac_sz = 1, unsigned initial_capacity = 1024);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue