CBMC
|
#include <linking_diagnostics.h>
Public Member Functions | |
linking_diagnosticst (message_handlert &message_handler, namespacet &ns) | |
void | error (const symbolt &old_symbol, const symbolt &new_symbol, const std::string &msg) |
void | warning (const symbolt &old_symbol, const symbolt &new_symbol, const std::string &msg) |
void | detailed_conflict_report (const symbolt &old_symbol, const symbolt &new_symbol, const typet &type1, const typet &type2) |
Protected Member Functions | |
std::string | type_to_string_verbose (const symbolt &symbol, const typet &type) const |
std::string | type_to_string_verbose (const symbolt &symbol) const |
bool | detailed_conflict_report_rec (const symbolt &old_symbol, const symbolt &new_symbol, const typet &type1, const typet &type2, unsigned depth, exprt &conflict_path) |
Returns true iff the conflict report on a particular branch of the tree of types was a definitive result, and not contingent on conflicts within a tag type. | |
Protected Attributes | |
message_handlert & | message_handler |
const namespacet & | ns |
Definition at line 21 of file linking_diagnostics.h.
|
inline |
Definition at line 24 of file linking_diagnostics.h.
|
inline |
Definition at line 39 of file linking_diagnostics.h.
|
protected |
Returns true iff the conflict report on a particular branch of the tree of types was a definitive result, and not contingent on conflicts within a tag type.
Definition at line 87 of file linking_diagnostics.cpp.
void linking_diagnosticst::error | ( | const symbolt & | old_symbol, |
const symbolt & | new_symbol, | ||
const std::string & | msg | ||
) |
Definition at line 365 of file linking_diagnostics.cpp.
|
inlineprotected |
Definition at line 62 of file linking_diagnostics.h.
|
protected |
Definition at line 35 of file linking_diagnostics.cpp.
void linking_diagnosticst::warning | ( | const symbolt & | old_symbol, |
const symbolt & | new_symbol, | ||
const std::string & | msg | ||
) |
Definition at line 382 of file linking_diagnostics.cpp.
|
protected |
Definition at line 56 of file linking_diagnostics.h.
|
protected |
Definition at line 57 of file linking_diagnostics.h.