File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ char ExpressionError::ID;
48
48
namespace {
49
49
// / A std::error_code category for eErrorTypeGeneric.
50
50
class LLDBGenericCategory : public std ::error_category {
51
- const char *name () const override { return " LLDBGenericCategory" ; }
51
+ const char *name () const noexcept override { return " LLDBGenericCategory" ; }
52
52
std::string message (int __ev) const override { return " generic LLDB error" ; };
53
53
};
54
54
LLDBGenericCategory &lldb_generic_category () {
@@ -58,7 +58,9 @@ LLDBGenericCategory &lldb_generic_category() {
58
58
59
59
// / A std::error_code category for eErrorTypeExpression.
60
60
class ExpressionCategory : public std ::error_category {
61
- const char *name () const override { return " LLDBExpressionCategory" ; }
61
+ const char *name () const noexcept override {
62
+ return " LLDBExpressionCategory" ;
63
+ }
62
64
std::string message (int __ev) const override {
63
65
return ExpressionResultAsCString (
64
66
static_cast <lldb::ExpressionResults>(__ev));
You can’t perform that action at this time.
0 commit comments