ROSE  0.9.9.109
rosedefs.h
1 #ifndef __rosedefs
2 #define __rosedefs
3 
4 
5 #include "stdio.h"
6 #include <cassert>
7 #include <cstdio>
8 #include <list>
9 #include <vector>
10 #include <string>
11 #include <set>
12 #include <map>
13 #include <sstream>
14 
15 // DQ (9/25/2007): Need to move this to here so that all of ROSE will see it.
16 #define Rose_STL_Container std::vector
17 
18 // DQ (2/5/2010): include stdint.h always.
19 // #ifdef _MSC_VER
20 // #include "stdint.h"
21 // //typedef __int64 uint64_t;
22 // #endif
23 
24 #include "stdint.h"
25 typedef uint64_t rose_addr_t; /* address and size (file and memory) */
26 
27 // DQ (2/10/2010): Added assert.h (not clear where else it is included).
28 #include "assert.h"
29 
30 #include "roseInternal.h"
31 
32 
33 //#include "rose_attributes_list.h"
34 
35 // DQ (10/14/2010): We don't want to include this into our header file system
36 // since then users will see the defined macros in our autoconf generated
37 // config.h (which we generate as rose_config.h to avoid filename conflicts).
38 // This fixes the problem that causes macro names to conflict (e.g. PACKAGE_BUGREPORT).
39 // #include "rose_config.h"
40 
41 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
42 #include "virtualCFG.h"
43 
44 // DQ (10/29/2010): This must be included as a header file since the function
45 // declarations in SgAsmStatement require it in the generated Cxx_Grammar.h file.
46 #include "virtualBinCFG.h"
47 
48 #include "staticCFG.h"
49 #else
50 
51 // DQ (11/12/2011): We need a declaration that can be used in Cxx_Grammar.h
52 class VirtualCFG
53  {
54  public:
55  typedef int CFGNode;
56  typedef int CFGEdge;
57  };
58 
59 class VirtualBinCFG
60  {
61  public:
62  typedef int AuxiliaryInformation;
63  typedef int CFGNode;
64  typedef int CFGEdge;
65  };
66 
67 #endif
68 
69 #endif