ROSE  0.9.9.139
ompAstConstruction.h
1 #ifndef _OMP_AST_CONSTRUCTION
2 #define _OMP_AST_CONSTRUCTION
3 
4 #include "AstSimpleProcessing.h"
5 
6 namespace OmpSupport
7 {
9  private:
10  std::vector<SgExpression*> expressions;
11 
12  public:
14  std::vector<SgExpression*> get_expressions();
15  void visit( SgNode* node );
16  };
17 
18  void processOpenMP(SgSourceFile* sageFilePtr);
19 
20  // Special handling to wrap statements in between "target begin" and "target end" OmpAttribute into a block.
21  // "target end" attribute will later be skipped when creating dedicate OMP statement.
22  void postParsingProcessing (SgSourceFile* sageFilePtr);
23 } // end of the namespace
24 #endif
Class for traversing the AST.
void visit(SgNode *node)
this method is called at every traversed node.
This class represents the base class for all IR nodes within Sage III.
Definition: Cxx_Grammar.h:8322
Types and functions to support OpenMP.