clang API Documentation
#include <FrontendActions.h>
Protected Member Functions | |
void | ExecuteAction () override |
Callback to run the program action, using the initialized compiler instance. |
Definition at line 66 of file Rewrite/Frontend/FrontendActions.h.
void RewriteMacrosAction::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 173 of file Frontend/Rewrite/FrontendActions.cpp.
References clang::CompilerInstance::createDefaultOutputFile(), clang::FrontendAction::getCompilerInstance(), clang::FrontendAction::getCurrentFile(), clang::CompilerInstance::getPreprocessor(), and clang::RewriteMacrosInInput().