mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
support for record extensions when using -O gen-standalone-C++
This commit is contained in:
parent
300b3788e2
commit
960931ba5c
7 changed files with 64 additions and 9 deletions
|
@ -254,8 +254,9 @@ extern void add_file_analysis_pattern(AnalyOpt& opts, const char* pat);
|
|||
// it should be skipped.
|
||||
extern bool should_analyze(const ScriptFuncPtr& f, const StmtPtr& body);
|
||||
|
||||
// True if the given object's location matches one specified by
|
||||
// True if the given filename or object location matches one specified by
|
||||
// --optimize-files=...
|
||||
extern bool filename_matches_opt_files(const char* filename);
|
||||
extern bool obj_matches_opt_files(const Obj* obj);
|
||||
inline bool obj_matches_opt_files(const ObjPtr& obj) { return obj_matches_opt_files(obj.get()); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue