CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
type2name.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Type Naming for C
4
5Author: Daniel Kroening, kroening@cs.cmu.edu
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_ANSI_C_TYPE2NAME_H
13#define CPROVER_ANSI_C_TYPE2NAME_H
14
15#include <string>
16
17class namespacet;
18class typet;
19
20std::string type2name(const typet &type, const namespacet &ns);
21
31std::string type_to_partial_identifier(const typet &type, const namespacet &ns);
32
33#endif // CPROVER_ANSI_C_TYPE2NAME_H
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition namespace.h:91
The type of an expression, extends irept.
Definition type.h:29
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.