CBMC
cpp_parse_tree.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: C++ Parser
4 
5 Author: Daniel Kroening, kroening@cs.cmu.edu
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CPP_CPP_PARSE_TREE_H
13 #define CPROVER_CPP_CPP_PARSE_TREE_H
14 
15 #include "cpp_item.h"
16 
17 #include <list>
18 
20 {
21 public:
22  // the (top-level) declarations/definitions
23 
24  typedef std::list<cpp_itemt> itemst;
26 
27  void swap(cpp_parse_treet &cpp_parse_tree);
28  void clear();
29 };
30 
31 class uninitialized_typet : public typet
32 {
33 public:
34  uninitialized_typet() : typet(static_cast<const typet &>(get_nil_irep()))
35  {
36  }
37 };
38 
39 #endif // CPROVER_CPP_CPP_PARSE_TREE_H
void swap(cpp_parse_treet &cpp_parse_tree)
std::list< cpp_itemt > itemst
The type of an expression, extends irept.
Definition: type.h:29
C++ Language Type Checking.
const irept & get_nil_irep()
Definition: irep.cpp:19