From ec31d50d0cb33283cf9a9702b3c9b1daae8dc76d Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 5 Dec 2024 15:18:15 -0600 Subject: [PATCH] FIx tidy issues with the macros --- src/targets/gpu/kernels/include/migraphx/kernels/pp.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/targets/gpu/kernels/include/migraphx/kernels/pp.hpp b/src/targets/gpu/kernels/include/migraphx/kernels/pp.hpp index 62739f166b9..89b38ac247b 100644 --- a/src/targets/gpu/kernels/include/migraphx/kernels/pp.hpp +++ b/src/targets/gpu/kernels/include/migraphx/kernels/pp.hpp @@ -24,6 +24,8 @@ #ifndef MIGRAPHX_GUARD_KERNELS_PP_HPP #define MIGRAPHX_GUARD_KERNELS_PP_HPP +// NOLINTBEGIN(*-macro-to-enum) + #define MIGRAPHX_PP_PRIMITIVE_CAT(x, y) x##y #define MIGRAPHX_PP_CAT(x, y) MIGRAPHX_PP_PRIMITIVE_CAT(x, y) @@ -122,4 +124,6 @@ MIGRAPHX_PP_EXPAND(MIGRAPHX_PP_PRIMITIVE_TRANSFORM_ARGS( \ m, MIGRAPHX_PP_COMMA, __VA_ARGS__, MIGRAPHX_PP_RES_ARGS())) +// NOLINTEND(*-macro-to-enum) + #endif // MIGRAPHX_GUARD_KERNELS_PP_HPP