File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class tactic_exception : public z3_exception {
26
26
std::string m_msg;
27
27
public:
28
28
tactic_exception (std::string && msg) : m_msg(std::move(msg)) {}
29
- char const * what () const override { return m_msg.c_str (); }
29
+ char const * what () const noexcept override { return m_msg.c_str (); }
30
30
};
31
31
32
32
#define TACTIC_CANCELED_MSG Z3_CANCELED_MSG
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Revision History:
29
29
30
30
31
31
class overflow_exception : public z3_exception {
32
- char const * what () const override { return " checked_int64 overflow/underflow" ; }
32
+ char const * what () const noexcept override { return " checked_int64 overflow/underflow" ; }
33
33
};
34
34
35
35
template <bool CHECK>
Original file line number Diff line number Diff line change @@ -182,15 +182,15 @@ class mpff_manager {
182
182
static bool field () { return true ; }
183
183
184
184
class exception : public z3_exception {
185
- char const * what () const override { return " multi-precision floating point (mpff) exception" ; }
185
+ char const * what () const noexcept override { return " multi-precision floating point (mpff) exception" ; }
186
186
};
187
187
188
188
class overflow_exception : public exception {
189
- char const * what () const override { return " multi-precision floating point (mpff) overflow" ; }
189
+ char const * what () const noexcept override { return " multi-precision floating point (mpff) overflow" ; }
190
190
};
191
191
192
192
class div0_exception : public exception {
193
- char const * what () const override { return " multi-precision floating point (mpff) division by zero" ; }
193
+ char const * what () const noexcept override { return " multi-precision floating point (mpff) division by zero" ; }
194
194
};
195
195
196
196
mpff_manager (unsigned prec = 2 , unsigned initial_capacity = 1024 );
Original file line number Diff line number Diff line change @@ -129,15 +129,15 @@ class mpfx_manager {
129
129
static bool field () { return true ; }
130
130
131
131
class exception : public z3_exception {
132
- char const * what () const override { return " multi-precision fixed point (mpfx) exception" ; }
132
+ char const * what () const noexcept override { return " multi-precision fixed point (mpfx) exception" ; }
133
133
};
134
134
135
135
class overflow_exception : public exception {
136
- char const * what () const override { return " multi-precision fixed point (mpfx) overflow" ; }
136
+ char const * what () const noexcept override { return " multi-precision fixed point (mpfx) overflow" ; }
137
137
};
138
138
139
139
class div0_exception : public exception {
140
- char const * what () const override { return " multi-precision fixed point (mpfx) division by zero" ; }
140
+ char const * what () const noexcept override { return " multi-precision fixed point (mpfx) division by zero" ; }
141
141
};
142
142
143
143
mpfx_manager (unsigned int_sz = 2 , unsigned frac_sz = 1 , unsigned initial_capacity = 1024 );
You can’t perform that action at this time.
0 commit comments