mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Fix a large number of clang-tidy warnings
This commit is contained in:
parent
4dc546f8c8
commit
31b65f70da
48 changed files with 231 additions and 193 deletions
|
@ -8,7 +8,8 @@
|
|||
|
||||
extern bool FLAGS_pac_debug;
|
||||
|
||||
#define ASSERT(x) assert(x)
|
||||
constexpr void ASSERT(bool flag) { assert(flag); }
|
||||
constexpr void ASSERT(int flag) { assert(flag); }
|
||||
#define DEBUG_MSG(...) \
|
||||
if ( FLAGS_pac_debug ) \
|
||||
fprintf(stderr, __VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue