clang API Documentation
#include <FrontendActions.h>
Protected Member Functions | |
void | ExecuteAction () override |
Callback to run the program action, using the initialized compiler instance. | |
bool | hasPCHSupport () const override |
Does this action support use with PCH? |
Definition at line 235 of file Frontend/FrontendActions.h.
void PrintPreprocessedAction::ExecuteAction | ( | ) | [override, protected, virtual] |
Callback to run the program action, using the initialized compiler instance.
This is guaranteed to only be called between BeginSourceFileAction() and EndSourceFileAction().
Implements clang::FrontendAction.
Definition at line 613 of file Frontend/FrontendActions.cpp.
References clang::CompilerInstance::createDefaultOutputFile(), clang::DoPrintPreprocessedInput(), clang::SourceManager::getBuffer(), clang::FrontendAction::getCompilerInstance(), clang::FrontendAction::getCurrentFile(), clang::SourceManager::getMainFileID(), clang::CompilerInstance::getPreprocessor(), clang::CompilerInstance::getPreprocessorOutputOpts(), clang::CompilerInstance::getSourceManager(), and SM.
bool clang::PrintPreprocessedAction::hasPCHSupport | ( | ) | const [inline, override, protected, virtual] |
Does this action support use with PCH?
Reimplemented from clang::FrontendAction.
Definition at line 239 of file Frontend/FrontendActions.h.