mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Deprecate Attr::AttrExpr(), replace with GetExpr()
This commit is contained in:
parent
2ebc20a164
commit
97636e97a5
9 changed files with 39 additions and 34 deletions
|
@ -574,7 +574,7 @@ void begin_func(ID* id, const char* module_name, function_flavor flavor,
|
|||
}
|
||||
|
||||
if ( Attr* depr_attr = find_attr(attrs, ATTR_DEPRECATED) )
|
||||
id->MakeDeprecated({NewRef{}, depr_attr->AttrExpr()});
|
||||
id->MakeDeprecated(depr_attr->GetExpr());
|
||||
}
|
||||
|
||||
class OuterIDBindingFinder : public TraversalCallback {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue