Deprecate Scope::Lookup(), replace with Scope::Find()

This commit is contained in:
Jon Siwek 2020-05-12 22:20:42 -07:00
parent a5762c12cc
commit 8f95a2a0bb
27 changed files with 65 additions and 72 deletions

View file

@ -165,7 +165,7 @@ namespace zeek { namespace id {
* @return The identifier, which may reference a nil object if no such
* name exists.
*/
IntrusivePtr<ID> lookup(const char* name);
const IntrusivePtr<ID>& lookup(const char* name);
/**
* Lookup an ID by its name and return its type. A fatal occurs if the ID