clang API Documentation
Abstract base class to use for preprocessor-based frontend actions. More...
#include <FrontendAction.h>
Public Member Functions | |
bool | usesPreprocessorOnly () const override |
Does this action only use the preprocessor? | |
Protected Member Functions | |
std::unique_ptr< ASTConsumer > | CreateASTConsumer (CompilerInstance &CI, StringRef InFile) override |
Provide a default implementation which returns aborts; this method should never be called by FrontendAction clients. |
Abstract base class to use for preprocessor-based frontend actions.
Definition at line 255 of file FrontendAction.h.
std::unique_ptr< ASTConsumer > PreprocessorFrontendAction::CreateASTConsumer | ( | CompilerInstance & | CI, |
StringRef | InFile | ||
) | [override, protected, virtual] |
Provide a default implementation which returns aborts; this method should never be called by FrontendAction clients.
Implements clang::FrontendAction.
Definition at line 533 of file FrontendAction.cpp.
bool clang::PreprocessorFrontendAction::usesPreprocessorOnly | ( | ) | const [inline, override, virtual] |
Does this action only use the preprocessor?
If so no AST context will be created and this action will be invalid with AST file inputs.
Implements clang::FrontendAction.
Definition at line 263 of file FrontendAction.h.