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 230 of file Frontend/FrontendActions.h.
| void PreprocessOnlyAction::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 599 of file Frontend/FrontendActions.cpp.
References clang::Preprocessor::EnterMainSourceFile(), clang::comments::tok::eof, clang::FrontendAction::getCompilerInstance(), clang::CompilerInstance::getPreprocessor(), clang::Preprocessor::IgnorePragmas(), clang::Token::isNot(), and clang::Preprocessor::Lex().