OmniSciDB  6686921089
 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 101 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 103 of file UdfCompiler.cpp.

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

Member Function Documentation

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

Definition at line 110 of file UdfCompiler.cpp.

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

Member Data Documentation

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

Definition at line 121 of file UdfCompiler.cpp.


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