mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Fix clang-tidy performance-enum-size warnings in headers
This commit is contained in:
parent
89ac0cb418
commit
f386deba94
76 changed files with 184 additions and 136 deletions
|
@ -16,7 +16,10 @@
|
|||
// values, the end goal is to have the value in (1) native form, (2) instead
|
||||
// in ValPtr form, or (3) whichever is more convenient to generate (sometimes
|
||||
// used when the caller knows that the value is non-native).
|
||||
enum GenType {
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
enum GenType : uint8_t {
|
||||
GEN_NATIVE,
|
||||
GEN_VAL_PTR,
|
||||
GEN_DONT_CARE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue