clang-tidy : disable warning about performance enum size (#16127)

Disable 'performance-enum-size' checking:

Enum 'llama_token_type' uses a larger base type ('unsigned int', size: 4 bytes)
than necessary for its value set, consider using 'std::uint8_t' (1 byte) as the
base type to reduce its size.
This commit is contained in:
Haiyue Wang
2025-09-23 01:57:46 +08:00
committed by GitHub
parent 3ecb2f671a
commit 351f3da39c

View File

@@ -17,6 +17,7 @@ Checks: >
clang-analyzer-*, clang-analyzer-*,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
performance-*, performance-*,
-performance-enum-size,
portability-*, portability-*,
-portability-simd-intrinsics, -portability-simd-intrinsics,
misc-*, misc-*,