OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 103 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 105 of file UdfCompiler.cpp.

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

Member Function Documentation

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

Definition at line 112 of file UdfCompiler.cpp.

112  {
113  for (DeclGroupRef::iterator b = decl_reference.begin(), e = decl_reference.end();
114  b != e;
115  ++b) {
116  // Traverse the declaration using our AST visitor.
117  visitor_.TraverseDecl(*b);
118  }
119  return true;
120  }

Member Data Documentation

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

Definition at line 123 of file UdfCompiler.cpp.


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