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 , NATURAL , 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.
Definition at line 810 of file c_typecast.cpp.
Definition at line 743 of file c_typecast.cpp.
Definition at line 275 of file c_typecast.cpp.
|
protected |
Definition at line 309 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 510 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 504 of file c_typecast.cpp.
Definition at line 421 of file c_typecast.cpp.
Reimplemented in cpp_typecastt.
Definition at line 649 of file c_typecast.cpp.
|
protectedvirtual |
Definition at line 524 of file c_typecast.cpp.
|
protected |
Definition at line 472 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.