mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +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
|
@ -3,6 +3,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <cstdint>
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
@ -103,7 +104,7 @@ public:
|
|||
*/
|
||||
std::string_view ToStdStringView() const;
|
||||
|
||||
enum render_style {
|
||||
enum render_style : uint8_t {
|
||||
ESC_NONE = 0,
|
||||
ESC_ESC = (1 << 1), // '\' -> "\\"
|
||||
ESC_QUOT = (1 << 2), // '"' -> "\"", ''' -> "\'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue