bifcl: Add NOLINT for clang-tidy performance-enum-size to generated headers

This commit is contained in:
Tim Wojtulewicz 2025-06-09 17:03:45 -07:00
parent c63a220579
commit d8d8772342

View file

@ -449,6 +449,7 @@ enum_def_1: TOK_ENUM opt_ws TOK_ID opt_ws TOK_LPB opt_ws
// this is the namespace were the enumerators are defined, not where // this is the namespace were the enumerators are defined, not where
// the type is defined. // the type is defined.
// We don't support fully qualified names as enumerators. Use a module name // We don't support fully qualified names as enumerators. Use a module name
fprintf(fp_netvar_h, "// NOLINTNEXTLINE(performance-enum-size)\n");
if ( decl.module_name != GLOBAL_MODULE_NAME ) if ( decl.module_name != GLOBAL_MODULE_NAME )
fprintf(fp_netvar_h, "namespace BifEnum::%s { ", decl.module_name.c_str()); fprintf(fp_netvar_h, "namespace BifEnum::%s { ", decl.module_name.c_str());
else else