Envision
A visual programming IDE for object-oriented languages
|
This class is used for clang tools. More...
Public Member Functions | |
TranslateFrontendAction (ClangAstVisitor *visitor, CppImportLogger *log) | |
virtual std::unique_ptr< clang::ASTConsumer > | CreateASTConsumer (clang::CompilerInstance &compilerInstance, llvm::StringRef) override |
This method creates a new ClangAstConsumer with the visitor_ It updates the compile instance (i.e. More... | |
Private Attributes | |
CppImportLogger * | log_ {} |
ClangAstVisitor * | visitor_ {} |
This class is used for clang tools.
The CreateASTConsumer method is automatically called by the create method of the FrontendAction factory
CppImport::TranslateFrontendAction::TranslateFrontendAction | ( | ClangAstVisitor * | visitor, |
CppImportLogger * | log | ||
) |
|
overridevirtual |
This method creates a new ClangAstConsumer with the visitor_ It updates the compile instance (i.e.
the source manager) of the visitor_
|
private |
|
private |