Go to the documentation of this file.
11 #ifndef CPROVER_GOTO_INSTRUMENT_CONTRACTS_INLINING_DECORATOR_H
12 #define CPROVER_GOTO_INSTRUMENT_CONTRACTS_INLINING_DECORATOR_H
108 void print(
unsigned level,
const std::string &message)
override
131 const std::string &message,
159 std::string
command(
unsigned i)
const override
Class that provides messages with a built-in verbosity 'level'.
const std::set< irep_idt > & get_recursive_call_set() const
void throw_on_no_body(messaget &log, const int error_code)
Throws the given error code if no body for function warnings happend during inlining.
void throw_on_recursive_calls(messaget &log, const int error_code)
Throws the given error code if recursive call warnings happend during inlining.
virtual std::string command(unsigned) const
Create an ECMA-48 SGR (Select Graphic Rendition) command.
void print(unsigned level, const xmlt &xml) override
void match_no_body_warning(const std::string &message)
std::set< irep_idt > missing_function_set
void print(unsigned level, const jsont &json) override
void match_recursive_call_warning(const std::string &message)
unsigned get_verbosity() const
void set_verbosity(unsigned _verbosity)
std::set< irep_idt > recursive_call_set
virtual void print(unsigned level, const std::string &message)=0
const std::set< irep_idt > & get_no_body_set() const
std::regex not_enough_arguments_regex
const std::set< irep_idt > & get_not_enough_arguments_set() const
std::size_t get_message_count(unsigned level) const
void print(unsigned level, const std::string &message, const source_locationt &location) override
xmlt xml(const irep_idt &property_id, const property_infot &property_info)
std::set< irep_idt > no_body_set
void print(unsigned level, const std::string &message) override
static void json(json_objectT &result, const irep_idt &property_id, const property_infot &property_info)
std::set< irep_idt > not_enough_arguments_set
void match_not_enough_arguments_warning(const std::string &message)
void flush(unsigned i) override
inlining_decoratort(message_handlert &_wrapped)
message_handlert & wrapped
A way of representing nested key/value data.
Decorator for a message_handlert used during function inlining that collect names of GOTO functions c...
std::regex missing_function_regex
void set_verbosity(unsigned _verbosity)
void print(unsigned level, const structured_datat &data) override
void throw_on_missing_function(messaget &log, const int error_code)
Throws the given error code if missing function warnings happend during inlining.
virtual void flush(unsigned)=0
void parse_message(const std::string &message)
void match_missing_function_warning(const std::string &message)
void throw_on_not_enough_arguments(messaget &log, const int error_code)
Throws the given error code if not enough arguments warnings happend during inlining.
const std::set< irep_idt > & get_missing_function_set() const
unsigned get_verbosity() const
std::string command(unsigned i) const override
Create an ECMA-48 SGR (Select Graphic Rendition) command.
std::size_t get_message_count(unsigned level) const
std::regex recursive_call_regex