CBMC
|
#include <c_typecast.h>
Public Member Functions | |
c_typecastt (const namespacet &_ns) | |
virtual | ~c_typecastt () |
virtual void | implicit_typecast (exprt &expr, const typet &type) |
virtual void | implicit_typecast_arithmetic (exprt &expr) |
virtual void | implicit_typecast_arithmetic (exprt &expr1, exprt &expr2) |
Public Attributes | |
std::list< std::string > | errors |
std::list< std::string > | warnings |
Protected Types | |
enum | c_typet { BOOL, CHAR, UCHAR, SHORT, USHORT, INT, UINT, LONG, ULONG, LONGLONG, ULONGLONG, LARGE_SIGNED_INT, LARGE_UNSIGNED_INT, INTEGER, FIXEDBV, SINGLE, DOUBLE, LONGDOUBLE, FLOAT128, RATIONAL, REAL, COMPLEX, VOIDPTR, PTR, OTHER } |
Protected Member Functions | |
c_typet | get_c_type (const typet &type) const |
void | implicit_typecast_arithmetic (exprt &expr, c_typet c_type) |
typet | follow_with_qualifiers (const typet &src) |
virtual void | implicit_typecast_followed (exprt &expr, const typet &src_type, const typet &orig_dest_type, const typet &dest_type) |
void | do_typecast (exprt &dest, const typet &type) |
c_typet | minimum_promotion (const typet &type) const |
Protected Attributes | |
const namespacet & | ns |
Definition at line 43 of file c_typecast.h.
|
protected |
Definition at line 73 of file c_typecast.h.
|
inlineexplicit |
Definition at line 46 of file c_typecast.h.
|
inlinevirtual |
Definition at line 50 of file c_typecast.h.
Definition at line 733 of file c_typecast.cpp.
Definition at line 278 of file c_typecast.cpp.
|
protected |
Definition at line 304 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 500 of file c_typecast.cpp.
|
virtual |
Reimplemented in cpp_typecastt.
Definition at line 494 of file c_typecast.cpp.
Definition at line 414 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 639 of file c_typecast.cpp.
|
protectedvirtual |
Definition at line 514 of file c_typecast.cpp.
|
protected |
Definition at line 462 of file c_typecast.cpp.
std::list<std::string> c_typecastt::errors |
Definition at line 65 of file c_typecast.h.
|
protected |
Definition at line 69 of file c_typecast.h.
std::list<std::string> c_typecastt::warnings |
Definition at line 66 of file c_typecast.h.