Cleanup: clang-tidy suppress warnings for PyTypeObject.tp_print
Clang-tidy behavior changes from Python 3.7 to 3.8+ so it's simplest to suppress the warning in this instance.
This commit is contained in:
@@ -70,6 +70,8 @@ PyTypeObject GetCurvilinearAbscissaF0D_Type = {
|
||||
sizeof(BPy_GetCurvilinearAbscissaF0D), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
nullptr, /* tp_dealloc */
|
||||
/* Incompatible with Python3.8+ (deprecated function).
|
||||
* NOLINTNEXTLINE: modernize-use-nullptr. */
|
||||
0, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
|
||||
@@ -66,6 +66,8 @@ PyTypeObject GetParameterF0D_Type = {
|
||||
sizeof(BPy_GetParameterF0D), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
nullptr, /* tp_dealloc */
|
||||
/* Incompatible with Python3.8+ (deprecated function).
|
||||
* NOLINTNEXTLINE: modernize-use-nullptr. */
|
||||
0, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
|
||||
@@ -75,6 +75,8 @@ PyTypeObject GetViewMapGradientNormF0D_Type = {
|
||||
sizeof(BPy_GetViewMapGradientNormF0D), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
nullptr, /* tp_dealloc */
|
||||
/* Incompatible with Python3.8+ (deprecated function).
|
||||
* NOLINTNEXTLINE: modernize-use-nullptr. */
|
||||
0, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
|
||||
@@ -73,6 +73,8 @@ PyTypeObject ReadCompleteViewMapPixelF0D_Type = {
|
||||
sizeof(BPy_ReadCompleteViewMapPixelF0D), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
nullptr, /* tp_dealloc */
|
||||
/* Incompatible with Python3.8+ (deprecated function).
|
||||
* NOLINTNEXTLINE: modernize-use-nullptr. */
|
||||
0, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
|
||||
@@ -74,6 +74,8 @@ PyTypeObject ReadMapPixelF0D_Type = {
|
||||
sizeof(BPy_ReadMapPixelF0D), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
nullptr, /* tp_dealloc */
|
||||
/* Incompatible with Python3.8+ (deprecated function).
|
||||
* NOLINTNEXTLINE: modernize-use-nullptr. */
|
||||
0, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
|
||||
@@ -77,6 +77,8 @@ PyTypeObject ReadSteerableViewMapPixelF0D_Type = {
|
||||
sizeof(BPy_ReadSteerableViewMapPixelF0D), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
nullptr, /* tp_dealloc */
|
||||
/* Incompatible with Python3.8+ (deprecated function).
|
||||
* NOLINTNEXTLINE: modernize-use-nullptr. */
|
||||
0, /* tp_print */
|
||||
nullptr, /* tp_getattr */
|
||||
nullptr, /* tp_setattr */
|
||||
|
||||
Reference in New Issue
Block a user