Use clang-format for all files in testing/btest/plugins.

This is a fixup commit for dc65b6248c.
This commit is contained in:
Benjamin Bannier 2022-07-13 17:43:18 +02:00
parent 96a14b39fa
commit 489534bd74
28 changed files with 208 additions and 160 deletions

View file

@ -3,19 +3,18 @@
#include "zeek/packet_analysis/Analyzer.h"
#include "zeek/packet_analysis/Component.h"
namespace zeek::packet_analysis::PacketDemo {
namespace zeek::packet_analysis::PacketDemo
{
class LLCDemo : public Analyzer {
class LLCDemo : public Analyzer
{
public:
LLCDemo();
~LLCDemo() override = default;
bool AnalyzePacket(size_t len, const uint8_t* data, Packet* packet) override;
static AnalyzerPtr Instantiate()
{
return std::make_shared<LLCDemo>();
}
};
static AnalyzerPtr Instantiate() { return std::make_shared<LLCDemo>(); }
};
}
}

View file

@ -3,19 +3,18 @@
#include "zeek/packet_analysis/Analyzer.h"
#include "zeek/packet_analysis/Component.h"
namespace zeek::packet_analysis::PacketDemo {
namespace zeek::packet_analysis::PacketDemo
{
class RawLayer : public Analyzer {
class RawLayer : public Analyzer
{
public:
RawLayer();
~RawLayer() override = default;
bool AnalyzePacket(size_t len, const uint8_t* data, Packet* packet) override;
static AnalyzerPtr Instantiate()
{
return std::make_shared<RawLayer>();
}
};
static AnalyzerPtr Instantiate() { return std::make_shared<RawLayer>(); }
};
}
}