fix bugprone-*
* bugprone-throw-keyword-missing * bugprone-unhandled-self-assignment * bugprone-suspicious-string-compare * bugprone-reserved-identifier * bugprone-narrowing-conversions * bugprone-macro-parentheses * bugprone-implicit-widening-of-multiplication-result * bugprone-exception-escape * bugprone-copy-constructor-init
This commit is contained in:
@@ -47,6 +47,7 @@ using PyObject = struct _object;
|
||||
/// have provided one) at that time it gets translated (e.g. in the UI before showing the message of
|
||||
/// the exception).
|
||||
|
||||
// NOLINTBEGIN
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#define THROW(exception) \
|
||||
@@ -185,6 +186,7 @@ using PyObject = struct _object;
|
||||
ss << _msg; \
|
||||
THROWM(_exception, ss.str().c_str()); \
|
||||
} while (0)
|
||||
// NOLINTEND
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user