CBMC
cpp_exception_id.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: C++ Language Type Checking
4 
5 Author: Daniel Kroening, kroening@cs.cmu.edu
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CPP_CPP_EXCEPTION_ID_H
13 #define CPROVER_CPP_CPP_EXCEPTION_ID_H
14 
15 #include <util/irep.h>
16 
17 class namespacet;
18 class typet;
19 
20 // turns a type into an exception ID
21 
22 irep_idt cpp_exception_id(const typet &, const namespacet &);
23 irept cpp_exception_list(const typet &, const namespacet &);
24 
25 #endif // CPROVER_CPP_CPP_EXCEPTION_ID_H
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:36
typet
The type of an expression, extends irept.
Definition: type.h:28
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition: namespace.h:90
cpp_exception_id
irep_idt cpp_exception_id(const typet &, const namespacet &)
turns a type into an exception ID
Definition: cpp_exception_id.cpp:94
irept
There are a large number of kinds of tree structured or tree-like data in CPROVER.
Definition: irep.h:359
cpp_exception_list
irept cpp_exception_list(const typet &, const namespacet &)
turns a type into a list of relevant exception IDs
Definition: cpp_exception_id.cpp:77
irep.h