mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
binpac: Add pre-commit hooks and run clang-format on everything
This commit is contained in:
parent
090ac0a6e0
commit
090325df40
91 changed files with 3086 additions and 3665 deletions
|
@ -6,12 +6,12 @@
|
|||
#include "pac_field.h"
|
||||
|
||||
class WithInputField : public Field, public Evaluatable
|
||||
{
|
||||
{
|
||||
public:
|
||||
WithInputField(ID* id, Type *type, InputBuffer* input);
|
||||
WithInputField(ID* id, Type* type, InputBuffer* input);
|
||||
virtual ~WithInputField();
|
||||
|
||||
InputBuffer *input() const { return input_; }
|
||||
InputBuffer* input() const { return input_; }
|
||||
|
||||
void Prepare(Env* env);
|
||||
|
||||
|
@ -29,10 +29,10 @@ public:
|
|||
bool RequiresAnalyzerContext() const;
|
||||
|
||||
protected:
|
||||
bool DoTraverse(DataDepVisitor *visitor);
|
||||
bool DoTraverse(DataDepVisitor* visitor);
|
||||
|
||||
protected:
|
||||
InputBuffer *input_;
|
||||
};
|
||||
InputBuffer* input_;
|
||||
};
|
||||
|
||||
#endif // pac_withinput_h
|
||||
#endif // pac_withinput_h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue