CBMC
|
Type Naming for C. More...
#include <string>
Go to the source code of this file.
Functions | |
std::string | type2name (const typet &type, const namespacet &ns) |
std::string | type_to_partial_identifier (const typet &type, const namespacet &ns) |
Constructs a string describing the given type, which can be used as part of a C identifier. More... | |
Type Naming for C.
Definition in file type2name.h.
std::string type2name | ( | const typet & | type, |
const namespacet & | ns | ||
) |
Definition at line 277 of file type2name.cpp.
std::string type_to_partial_identifier | ( | const typet & | type, |
const namespacet & | ns | ||
) |
Constructs a string describing the given type, which can be used as part of a C
identifier.
The resulting identifier is not guaranteed to uniquely identify the type in all cases.
type | Internal representation of the type to describe. |
ns | Namespace for looking up any types on which the type parameter depends. |
C
identifier. Definition at line 328 of file type2name.cpp.