captures for "when" statements

update Triggers to IntrusivePtr's and simpler AST traversal
introduce IDSet type, migrate associated "ID*" types to "const ID*"
This commit is contained in:
Vern Paxson 2022-01-07 14:50:35 -08:00
parent fa142438fe
commit f895008c34
24 changed files with 648 additions and 202 deletions

View file

@ -5,6 +5,7 @@
#include <map>
#include <string>
#include <string_view>
#include <unordered_set>
#include <vector>
#include "zeek/Attr.h"
@ -55,6 +56,7 @@ enum IDScope
class ID;
using IDPtr = IntrusivePtr<ID>;
using IDSet = std::unordered_set<const ID*>;
class IDOptInfo;