Current Path : /compat/linux/proc/68247/root/usr/src/contrib/llvm/tools/clang/include/clang/ARCMigrate/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/68247/root/usr/src/contrib/llvm/tools/clang/include/clang/ARCMigrate/ARCMTActions.h |
//===--- ARCMTActions.h - ARC Migrate Tool Frontend Actions -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_ARCMIGRATE_ARCMT_ACTION_H #define LLVM_CLANG_ARCMIGRATE_ARCMT_ACTION_H #include "clang/Frontend/FrontendAction.h" #include "clang/ARCMigrate/FileRemapper.h" #include "llvm/ADT/OwningPtr.h" namespace clang { namespace arcmt { class CheckAction : public WrapperFrontendAction { protected: virtual bool BeginInvocation(CompilerInstance &CI); public: CheckAction(FrontendAction *WrappedAction); }; class ModifyAction : public WrapperFrontendAction { protected: virtual bool BeginInvocation(CompilerInstance &CI); public: ModifyAction(FrontendAction *WrappedAction); }; class MigrateSourceAction : public ASTFrontendAction { FileRemapper Remapper; protected: virtual bool BeginInvocation(CompilerInstance &CI); virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, StringRef InFile); }; class MigrateAction : public WrapperFrontendAction { std::string MigrateDir; std::string PlistOut; bool EmitPremigrationARCErros; protected: virtual bool BeginInvocation(CompilerInstance &CI); public: MigrateAction(FrontendAction *WrappedAction, StringRef migrateDir, StringRef plistOut, bool emitPremigrationARCErrors); }; /// \brief Migrates to modern ObjC syntax. class ObjCMigrateAction : public WrapperFrontendAction { std::string MigrateDir; bool MigrateLiterals; bool MigrateSubscripting; FileRemapper Remapper; CompilerInstance *CompInst; public: ObjCMigrateAction(FrontendAction *WrappedAction, StringRef migrateDir, bool migrateLiterals, bool migrateSubscripting); protected: virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,StringRef InFile); virtual bool BeginInvocation(CompilerInstance &CI); }; } } #endif