mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
regularized (some) types of pointers used in script optimization
This commit is contained in:
parent
dd389c0380
commit
709d410fcd
18 changed files with 85 additions and 93 deletions
|
@ -12,12 +12,12 @@ namespace zeek::detail {
|
|||
|
||||
class GenIDDefs : public TraversalCallback {
|
||||
public:
|
||||
GenIDDefs(std::shared_ptr<ProfileFunc> _pf, const Func* f, ScopePtr scope, StmtPtr body);
|
||||
GenIDDefs(std::shared_ptr<ProfileFunc> _pf, const FuncPtr& f, ScopePtr scope, StmtPtr body);
|
||||
|
||||
private:
|
||||
// Traverses the given function body, using the first two
|
||||
// arguments for context.
|
||||
void TraverseFunction(const Func* f, ScopePtr scope, StmtPtr body);
|
||||
void TraverseFunction(const FuncPtr& f, ScopePtr scope, StmtPtr body);
|
||||
|
||||
TraversalCode PreStmt(const Stmt*) override;
|
||||
void AnalyzeSwitch(const SwitchStmt* sw);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue