mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
ID: Add AddAttr() helper
This is just a follow-up as code cleanup, but not required to be backported to 5.1.
This commit is contained in:
parent
ef920ef3f5
commit
da5fdb2072
5 changed files with 13 additions and 17 deletions
1
src/ID.h
1
src/ID.h
|
@ -116,6 +116,7 @@ public:
|
|||
bool IsRedefinable() const;
|
||||
|
||||
void SetAttrs(AttributesPtr attr);
|
||||
void AddAttr(AttrPtr a, bool is_redef = false);
|
||||
void AddAttrs(AttributesPtr attr, bool is_redef = false);
|
||||
void RemoveAttr(AttrTag a);
|
||||
void UpdateValAttrs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue