#include "clang/Rewrite/Frontend/FrontendActions.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/LangStandard.h"
#include "clang/Config/config.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendActions.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/Frontend/Utils.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Rewrite/Frontend/ASTConsumers.h"
#include "clang/Rewrite/Frontend/FixItRewriter.h"
#include "clang/Rewrite/Frontend/Rewriters.h"
#include "clang/Serialization/ASTReader.h"
#include "clang/Serialization/ModuleFile.h"
#include "clang/Serialization/ModuleManager.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Support/CrashRecoveryContext.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <utility>
usingnamespaceclang;
std::unique_ptr<ASTConsumer>
HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { … }
FixItAction::FixItAction() { … }
FixItAction::~FixItAction() { … }
std::unique_ptr<ASTConsumer>
FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { … }
namespace {
class FixItRewriteInPlace : public FixItOptions { … };
class FixItActionSuffixInserter : public FixItOptions { … };
class FixItRewriteToTemp : public FixItOptions { … };
}
bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { … }
void FixItAction::EndSourceFileAction() { … }
bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { … }
#if CLANG_ENABLE_OBJC_REWRITER
std::unique_ptr<ASTConsumer>
RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { … }
#endif
void RewriteMacrosAction::ExecuteAction() { … }
void RewriteTestAction::ExecuteAction() { … }
class RewriteIncludesAction::RewriteImportsListener : public ASTReaderListener { … };
bool RewriteIncludesAction::BeginSourceFileAction(CompilerInstance &CI) { … }
void RewriteIncludesAction::ExecuteAction() { … }