OmniSciDB  cecceef8da
 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, ASTContext &context)
 
bool HandleTopLevelDecl (DeclGroupRef decl_reference) override
 

Private Attributes

FunctionDeclVisitor visitor_
 

Detailed Description

Definition at line 94 of file UDFCompiler.cpp.

Constructor & Destructor Documentation

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

Definition at line 96 of file UDFCompiler.cpp.

99  : visitor_(ast_file, s_manager, context) {}

Member Function Documentation

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

Definition at line 103 of file UDFCompiler.cpp.

103  {
104  for (DeclGroupRef::iterator b = decl_reference.begin(), e = decl_reference.end();
105  b != e;
106  ++b) {
107  // Traverse the declaration using our AST visitor.
108  visitor_.TraverseDecl(*b);
109  }
110  return true;
111  }

Member Data Documentation

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

Definition at line 114 of file UDFCompiler.cpp.


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