mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
control whether checking for type-equivalence generates warnings
This commit is contained in:
parent
45b9371e38
commit
c7234713b1
2 changed files with 13 additions and 10 deletions
|
@ -447,9 +447,10 @@ public:
|
|||
{ yield = nullptr; flavor = arg_flav; }
|
||||
|
||||
int MatchesIndex(detail::ListExpr* index) const override;
|
||||
bool CheckArgs(const TypePList* args, bool is_init = false) const;
|
||||
bool CheckArgs(const TypePList* args, bool is_init = false,
|
||||
bool do_warn = true) const;
|
||||
bool CheckArgs(const std::vector<TypePtr>& args,
|
||||
bool is_init = false) const;
|
||||
bool is_init = false, bool do_warn = true) const;
|
||||
|
||||
const TypeListPtr& ParamList() const
|
||||
{ return arg_types; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue