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) |
Static Public Member Functions | |
static std::optional< std::string > | check_address_can_be_taken (const typet &) |
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 44 of file c_typecast.h.
|
protected |
Definition at line 78 of file c_typecast.h.
|
inlineexplicit |
Definition at line 47 of file c_typecast.h.
|
inlinevirtual |
Definition at line 51 of file c_typecast.h.
|
static |
Definition at line 787 of file c_typecast.cpp.
Definition at line 741 of file c_typecast.cpp.
Definition at line 278 of file c_typecast.cpp.
|
protected |
Definition at line 312 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 508 of file c_typecast.cpp.
|
virtual |
Reimplemented in cpp_typecastt.
Definition at line 502 of file c_typecast.cpp.
Definition at line 422 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 647 of file c_typecast.cpp.
|
protectedvirtual |
Definition at line 522 of file c_typecast.cpp.
|
protected |
Definition at line 470 of file c_typecast.cpp.
std::list<std::string> c_typecastt::errors |
Definition at line 66 of file c_typecast.h.
|
protected |
Definition at line 74 of file c_typecast.h.
std::list<std::string> c_typecastt::warnings |
Definition at line 67 of file c_typecast.h.