OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{UDFCompiler.cpp}::DeclASTConsumer Class Reference
+ Inheritance diagram for anonymous_namespace{UDFCompiler.cpp}::DeclASTConsumer:
+ Collaboration diagram for anonymous_namespace{UDFCompiler.cpp}::DeclASTConsumer:

Public Member Functions

 DeclASTConsumer (llvm::raw_fd_ostream &ast_file, SourceManager &s_manager)
 
bool HandleTopLevelDecl (DeclGroupRef decl_reference) override
 

Private Attributes

FunctionDeclVisitor visitor_
 

Detailed Description

Definition at line 84 of file UDFCompiler.cpp.

Constructor & Destructor Documentation

anonymous_namespace{UDFCompiler.cpp}::DeclASTConsumer::DeclASTConsumer ( llvm::raw_fd_ostream &  ast_file,
SourceManager &  s_manager 
)
inline

Definition at line 86 of file UDFCompiler.cpp.

87  : visitor_(ast_file, s_manager) {}

Member Function Documentation

bool anonymous_namespace{UDFCompiler.cpp}::DeclASTConsumer::HandleTopLevelDecl ( DeclGroupRef  decl_reference)
inlineoverride

Definition at line 91 of file UDFCompiler.cpp.

91  {
92  for (DeclGroupRef::iterator b = decl_reference.begin(), e = decl_reference.end();
93  b != e;
94  ++b) {
95  // Traverse the declaration using our AST visitor.
96  visitor_.TraverseDecl(*b);
97  }
98  return true;
99  }

Member Data Documentation

FunctionDeclVisitor anonymous_namespace{UDFCompiler.cpp}::DeclASTConsumer::visitor_
private

Definition at line 102 of file UDFCompiler.cpp.


The documentation for this class was generated from the following file: