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 215 of file Frontend/FrontendActions.h.
void DumpRawTokensAction::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 554 of file Frontend/FrontendActions.cpp.
References clang::Preprocessor::DumpToken(), clang::comments::tok::eof, clang::SourceManager::getBuffer(), clang::FrontendAction::getCompilerInstance(), clang::Preprocessor::getLangOpts(), clang::SourceManager::getMainFileID(), clang::CompilerInstance::getPreprocessor(), clang::Preprocessor::getSourceManager(), clang::Token::isNot(), clang::Lexer::SetKeepWhitespaceMode(), and SM.