mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +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
|
# SplitEmptyNamespace: false
|
||||||
|
|
||||||
AccessModifierOffset: -4
|
AccessModifierOffset: -4
|
||||||
AlignAfterOpenBracket: true
|
AlignAfterOpenBracket: Align
|
||||||
AlignTrailingComments: false
|
AlignTrailingComments: false
|
||||||
AllowShortBlocksOnASingleLine: Empty
|
AllowShortBlocksOnASingleLine: Empty
|
||||||
AllowShortEnumsOnASingleLine: true
|
AllowShortEnumsOnASingleLine: true
|
||||||
|
|
|
@ -313,9 +313,11 @@ ValPtr ZBody::DoExec(Frame* f, int start_pc, StmtFlowType& flow)
|
||||||
case OP_NOP:
|
case OP_NOP:
|
||||||
break;
|
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-EvalMacros.h"
|
||||||
#include "ZAM-EvalDefs.h"
|
#include "ZAM-EvalDefs.h"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
default:
|
default:
|
||||||
reporter->InternalError("bad ZAM opcode");
|
reporter->InternalError("bad ZAM opcode");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue