From: Haiyue Wang Date: Mon, 22 Sep 2025 17:57:46 +0000 (+0800) Subject: clang-tidy : disable warning about performance enum size (#16127) X-Git-Tag: upstream/0.0.6641~90 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=351f3da39c85f59d581fc184f09283da7f099a3b;p=pkg%2Fggml%2Fsources%2Fllama.cpp 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. --- diff --git a/.clang-tidy b/.clang-tidy index 5bc63bc6..803b8b46 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -17,6 +17,7 @@ Checks: > clang-analyzer-*, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, performance-*, + -performance-enum-size, portability-*, -portability-simd-intrinsics, misc-*,