mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
shift much of the internal use of ID* identifier pointers over to IDPtr objects
This commit is contained in:
parent
1c7c1b62f6
commit
693aa244f9
43 changed files with 301 additions and 345 deletions
|
@ -39,7 +39,7 @@ private:
|
|||
|
||||
// If -u is active, checks for whether the given identifier present
|
||||
// in the given expression is undefined at that point.
|
||||
void CheckVarUsage(const Expr* e, const ID* id);
|
||||
void CheckVarUsage(const Expr* e, const IDPtr& id);
|
||||
|
||||
// Begin a new confluence block with the given statement.
|
||||
void StartConfluenceBlock(const Stmt* s);
|
||||
|
@ -70,8 +70,7 @@ private:
|
|||
// statement in the current confluence block. 'e' is the
|
||||
// expression used to define the identifier, for simple direct
|
||||
// assignments.
|
||||
void TrackID(const IDPtr& id, const ExprPtr& e = nullptr) { TrackID(id.get(), e); }
|
||||
void TrackID(const ID* id, const ExprPtr& e = nullptr);
|
||||
void TrackID(const IDPtr& id, const ExprPtr& e = nullptr);
|
||||
|
||||
// Profile for the function. Currently, all we actually need from
|
||||
// this is the list of globals and locals.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue