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