Add comments to suppress warning from clang-tidy (#3088)

Suppress style warnings for macro definition, name of these macros is
inconsistent with others (upper case).
This commit is contained in:
Huang Qi
2024-01-26 17:02:24 +08:00
committed by GitHub
parent ad46290770
commit 9fb5fcc709
4 changed files with 11 additions and 3 deletions

View File

@ -1474,7 +1474,7 @@ invoke_native_with_hw_bound_check(WASMExecEnv *exec_env, void *func_ptr,
(void)jmpbuf_node_pop;
return ret;
}
#define invoke_native_internal invoke_native_with_hw_bound_check
#define invoke_native_internal invoke_native_with_hw_bound_check /* NOLINT */
#else /* else of OS_ENABLE_HW_BOUND_CHECK */
static inline bool
invoke_native_internal(WASMExecEnv *exec_env, void *func_ptr,