ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sage3.h
Go to the documentation of this file.
1 // DQ (6/25/2011): remove to isolate name qualification error
2 #if 1
3 
4 /*
5  * this includes the forward declarations of all the sage node classes
6  * from the generated files (i.e. gives just the class names.)
7  *
8  */
9 
10 #ifndef SAGE3_CLASSES_H
11 #define SAGE3_CLASSES_H
12 
13 // DQ (1/20/2010): This allows compatability with the older STL list of SgFile pointers.
14 // The newer approach uses a pointer to a SgFileList IR node and this design permits
15 // the use of directory structure support as required for scalable code generation.
16 #define ROSE_USING_OLD_PROJECT_FILE_LIST_SUPPORT 0
17 
18 // DQ (12/29/2011): This is now defined automatically when configured to use the newer version 4.3 of EDG.
19 // DQ (12/22/2011): This is part of the new desgin for template declarations, namely that they are derived
20 // from their associated declarations (e.g. SgTemplateClassDeclaration is derived from SgClassDeclaration).
21 // #define TEMPLATE_DECLARATIONS_DERIVED_FROM_NON_TEMPLATE_DECLARATIONS 1
22 
23 //#include "sage3basic.h"
24 
25 // DQ (12/9/2004): The name of this file has been changed to be the new location
26 // of many future Sage III AST manipulation functions in the future. A namespace
27 // (SageInterface) is defined in sageInterface.h.
28 #include "sageInterface.h"
29 
30 #include "AstProcessing.h"
31 
32 // Markus Kowarschik: Support for preprocessors declarations and comments
34 
35 // Lingxiao's work to add comments from all header files to the AST.
36 #include "attach_all_info.h"
37 
38 // DQ (8/20/2005): Changed name to make sure that we don't use the old
39 // header file (which has been removed).
40 // #include "AstFixes.h"
41 #include "astPostProcessing.h"
42 
43 
44 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
45 //Liao, 10/9/2008, support for abstract handles for language constructs
46 #include "abstract_handle.h"
47 #include "roseAdapter.h"
48 
49 #include "memory_object.h"
50 //#include "memory_object_impl.h"
51 #endif
52 
53 //Liao, 2/8/2008. SAGE III node building interface
54 #include "sageBuilder.h"
55 #include "sageBuilderAsm.h"
56 
57 
58 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
59 // Liao, 11/14/2008, support for annotation-based array optimization
60 // The headers bring some garbage which cannot be compiled
61 //#include "ArrayAnnot.h"
62 //#include "ArrayInterface.h"
63 //include "ArrayRewrite.h"
64 // Liao, 8/11/2009, support for OpenMP lowering
65 #include "omp_lowering.h"
66 #else
67 // DQ (11/12/2011): This is included in the omp_lowering.h and it is needed in sageInterface.C.
68 // #include "astQuery.h"
69 #include "nodeQuery.h"
70 #endif
71 
72 
73 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
74 // DQ (5/28/2007): Added new AST Merge API
75 #include "astMergeAPI.h"
76 #endif
77 
78 // JJW 10-23-2007
79 // Add possibility to include Valgrind header for memcheck
80 #if ROSE_USE_VALGRIND
81 #include <valgrind/valgrind.h>
82 #include <valgrind/memcheck.h>
83 #endif
84 
85 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
86 // TV (05/23/2011): Add headers for the AstFromString library
87 #include "AstFromString.h"
88 #include "ParserBuilder.hpp"
89 #endif
90 
91 #endif
92 
93 // DQ (6/25/2011): remove to isolate name qualification error
94 #endif
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107