OmniSciDB  04ee39c94c
anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction Class Reference
+ Inheritance diagram for anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction:
+ Collaboration diagram for anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction:

Public Member Functions

 HandleDeclAction (llvm::raw_fd_ostream &ast_file)
 
 ~HandleDeclAction () override
 
std::unique_ptr< ASTConsumer > CreateASTConsumer (CompilerInstance &instance, StringRef file) override
 

Private Attributes

llvm::raw_fd_ostream & ast_file_
 

Detailed Description

Definition at line 106 of file UDFCompiler.cpp.

Constructor & Destructor Documentation

◆ HandleDeclAction()

anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction::HandleDeclAction ( llvm::raw_fd_ostream &  ast_file)
inline

Definition at line 108 of file UDFCompiler.cpp.

108 : ast_file_(ast_file) {}

◆ ~HandleDeclAction()

anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction::~HandleDeclAction ( )
inlineoverride

Definition at line 110 of file UDFCompiler.cpp.

110 {}

Member Function Documentation

◆ CreateASTConsumer()

std::unique_ptr<ASTConsumer> anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction::CreateASTConsumer ( CompilerInstance &  instance,
StringRef  file 
)
inlineoverride

Definition at line 112 of file UDFCompiler.cpp.

113  {
114  return llvm::make_unique<DeclASTConsumer>(ast_file_, instance.getSourceManager());
115  }

Member Data Documentation

◆ ast_file_

llvm::raw_fd_ostream& anonymous_namespace{UDFCompiler.cpp}::HandleDeclAction::ast_file_
private

Definition at line 118 of file UDFCompiler.cpp.


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