mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
clang-format: Enforce ordering of includes in ZBody
This commit is contained in:
parent
07e276ab2e
commit
cb99ae2b7c
2 changed files with 4 additions and 2 deletions
|
@ -30,7 +30,7 @@ BreakBeforeBraces: Whitesmiths
|
|||
# SplitEmptyNamespace: false
|
||||
|
||||
AccessModifierOffset: -4
|
||||
AlignAfterOpenBracket: true
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignTrailingComments: false
|
||||
AllowShortBlocksOnASingleLine: Empty
|
||||
AllowShortEnumsOnASingleLine: true
|
||||
|
|
|
@ -313,9 +313,11 @@ ValPtr ZBody::DoExec(Frame* f, int start_pc, StmtFlowType& flow)
|
|||
case OP_NOP:
|
||||
break;
|
||||
|
||||
// These must stay in this order or the build fails.
|
||||
// These must stay in this order or the build fails.
|
||||
// clang-format off
|
||||
#include "ZAM-EvalMacros.h"
|
||||
#include "ZAM-EvalDefs.h"
|
||||
// clang-format on
|
||||
|
||||
default:
|
||||
reporter->InternalError("bad ZAM opcode");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue