ROSE  0.9.9.109
sage3.h
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
33 #include "attachPreprocessingInfo.h"
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 
56 
57 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
58 // Liao, 11/14/2008, support for annotation-based array optimization
59 // The headers bring some garbage which cannot be compiled
60 //#include "ArrayAnnot.h"
61 //#include "ArrayInterface.h"
62 //include "ArrayRewrite.h"
63 // Liao, 8/11/2009, support for OpenMP lowering
64 #include "omp_lowering.h"
65 #else
66 // DQ (11/12/2011): This is included in the omp_lowering.h and it is needed in sageInterface.C.
67 // #include "astQuery.h"
68 #include "nodeQuery.h"
69 #endif
70 
71 
72 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
73 // DQ (5/28/2007): Added new AST Merge API
74 #include "astMergeAPI.h"
75 #endif
76 
77 // JJW 10-23-2007
78 // Add possibility to include Valgrind header for memcheck
79 #if ROSE_USE_VALGRIND
80 #include <valgrind/valgrind.h>
81 #include <valgrind/memcheck.h>
82 #endif
83 
84 #ifndef ROSE_USE_INTERNAL_FRONTEND_DEVELOPMENT
85 // TV (05/23/2011): Add headers for the AstFromString library
86 #include "AstFromString.h"
87 #include "ParserBuilder.hpp"
88 #endif
89 
90 #endif
91 
92 // DQ (6/25/2011): remove to isolate name qualification error
93 #endif
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106