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

@ -371,7 +371,7 @@ void Val::ValDescribeReST(ODesc* d) const
#ifdef DEBUG
ID* Val::GetID() const
{
return bound_id ? global_scope()->Lookup(bound_id) : nullptr;
return bound_id ? global_scope()->Find(bound_id).get() : nullptr;
}
void Val::SetID(ID* id)