mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
binpac: Mark overridden methods with 'override'
This commit is contained in:
parent
45ef19049c
commit
299f39e8e2
29 changed files with 260 additions and 257 deletions
|
@ -9,11 +9,11 @@ class WithInputField : public Field, public Evaluatable
|
|||
{
|
||||
public:
|
||||
WithInputField(ID* id, Type* type, InputBuffer* input);
|
||||
virtual ~WithInputField();
|
||||
~WithInputField() override;
|
||||
|
||||
InputBuffer* input() const { return input_; }
|
||||
|
||||
void Prepare(Env* env);
|
||||
void Prepare(Env* env) override;
|
||||
|
||||
// void GenPubDecls(Output* out, Env* env);
|
||||
// void GenPrivDecls(Output* out, Env* env);
|
||||
|
@ -24,12 +24,12 @@ public:
|
|||
void GenParseCode(Output* out, Env* env);
|
||||
|
||||
// Instantiate the Evaluatable interface
|
||||
void GenEval(Output* out, Env* env);
|
||||
void GenEval(Output* out, Env* env) override;
|
||||
|
||||
bool RequiresAnalyzerContext() const;
|
||||
bool RequiresAnalyzerContext() const override;
|
||||
|
||||
protected:
|
||||
bool DoTraverse(DataDepVisitor* visitor);
|
||||
bool DoTraverse(DataDepVisitor* visitor) override;
|
||||
|
||||
protected:
|
||||
InputBuffer* input_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue