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:
parent
3ecb2f671a
commit
351f3da39c
|
|
@ -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-*,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue