clang API Documentation
Emits changes to temporary files and uses them for the original frontend action. More...
#include <FrontendActions.h>
Public Member Functions | |
FixItRecompile (FrontendAction *WrappedAction) | |
Protected Member Functions | |
bool | BeginInvocation (CompilerInstance &CI) override |
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvocation or do some other action before BeginSourceFileAction is called. |
Emits changes to temporary files and uses them for the original frontend action.
Definition at line 51 of file Rewrite/Frontend/FrontendActions.h.
clang::FixItRecompile::FixItRecompile | ( | FrontendAction * | WrappedAction | ) | [inline] |
Definition at line 53 of file Rewrite/Frontend/FrontendActions.h.
bool FixItRecompile::BeginInvocation | ( | CompilerInstance & | CI | ) | [override, protected, virtual] |
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvocation or do some other action before BeginSourceFileAction is called.
Reimplemented from clang::WrapperFrontendAction.
Definition at line 107 of file Frontend/Rewrite/FrontendActions.cpp.
References clang::DiagnosticConsumer::clear(), clang::FrontendOptions::FixOnlyWarnings, clang::FrontendOptions::FixToTemporaries, clang::FrontendOptions::FixWhatYouCan, clang::CompilerInstance::getDiagnosticClient(), clang::CompilerInstance::getDiagnostics(), clang::CompilerInstance::getFrontendOpts(), clang::CompilerInstance::getLangOpts(), clang::CompilerInstance::getPreprocessorOpts(), clang::CompilerInstance::getSourceManager(), clang::FrontendOptions::Inputs, clang::PreprocessorOptions::RemappedFiles, clang::PreprocessorOptions::RemappedFilesKeepOriginalName, clang::DiagnosticsEngine::Reset(), clang::CompilerInstance::setFileManager(), and clang::CompilerInstance::setSourceManager().