mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Fix clang-tidy cppcoreguidelines-macro-usage warnings in headers
This commit is contained in:
parent
74bf987b82
commit
e84c99fb14
31 changed files with 220 additions and 117 deletions
|
@ -14,6 +14,7 @@ enum TraversalCode : uint8_t {
|
|||
TC_ABORTSTMT = 2,
|
||||
};
|
||||
|
||||
// NOLINTBEGIN(cppcoreguidelines-macro-usage)
|
||||
#define HANDLE_TC_STMT_PRE(code) \
|
||||
{ \
|
||||
switch ( code ) { \
|
||||
|
@ -46,4 +47,6 @@ enum TraversalCode : uint8_t {
|
|||
#define HANDLE_TC_ATTR_PRE(code) HANDLE_TC_STMT_PRE(code)
|
||||
#define HANDLE_TC_ATTR_POST(code) return (code);
|
||||
|
||||
// NOLINTEND(cppcoreguidelines-macro-usage)
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue