mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Merge remote-tracking branch 'origin/topic/vern/CPP-streamlining'
* origin/topic/vern/CPP-streamlining: BTest baseline updates for compile-to-C++ mark ZAM regression BTests as not suitable for compile-to-C++ fix for -O gen-C++ maintenance helper to skip BTest intermediary files introduced simplified initialization for non-standalone -O gen-C++ code tied -O gen-standalone-C++ to use of --optimize-files streamline generated -O C++ code by relying on per-function profiles rather than aggregate profile when reporting available/unavailble C++ script bodies, flag those that are skipped modified AST profiling to mark (and fully skip) non-optimizable functions modified merge_types() to skip work if given identical types, which also preserves type names (useful for -O gen-C++)
This commit is contained in:
commit
6e75417032
35 changed files with 334 additions and 143 deletions
|
@ -253,6 +253,10 @@ 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
|
||||
// --optimize-files=...
|
||||
extern bool obj_matches_opt_files(const Obj* obj);
|
||||
|
||||
// Analyze all of the parsed scripts collectively for usage issues (unless
|
||||
// suppressed by the flag) and optimization.
|
||||
extern void analyze_scripts(bool no_unused_warnings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue