clang API Documentation
#include <FrontendActions.h>


Protected Member Functions | |
| virtual ASTConsumer * | CreateASTConsumer (CompilerInstance &CI, StringRef InFile) |
Definition at line 41 of file Frontend/FrontendActions.h.
| ASTConsumer * ASTPrintAction::CreateASTConsumer | ( | CompilerInstance & | CI, |
| StringRef | InFile | ||
| ) | [protected, virtual] |
CreateASTConsumer - Create the AST consumer object for this action, if supported.
This routine is called as part of
| CI | - The current compiler instance, provided as a convenience, |
| InFile | - The current input file, provided as a convenience, |
Implements clang::FrontendAction.
Definition at line 47 of file Frontend/FrontendActions.cpp.
References clang::CreateASTPrinter(), and clang::CompilerInstance::createDefaultOutputFile().