| OLD | NEW |
| 1 //===- subzero/src/IceCompileServer.h - Compile server ----------*- C++ -*-===// | 1 //===- subzero/src/IceCompileServer.h - Compile server ----------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file declares the compile server. Given a compiler implementation, | 10 // This file declares the compile server. Given a compiler implementation, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Commandline variant of the compile server. | 62 // Commandline variant of the compile server. |
| 63 class CLCompileServer : public CompileServer { | 63 class CLCompileServer : public CompileServer { |
| 64 CLCompileServer() = delete; | 64 CLCompileServer() = delete; |
| 65 CLCompileServer(const CLCompileServer &) = delete; | 65 CLCompileServer(const CLCompileServer &) = delete; |
| 66 CLCompileServer &operator=(const CLCompileServer &) = delete; | 66 CLCompileServer &operator=(const CLCompileServer &) = delete; |
| 67 | 67 |
| 68 public: | 68 public: |
| 69 CLCompileServer(Compiler &Comp, int argc, char **argv) | 69 CLCompileServer(Compiler &Comp, int argc, char **argv) |
| 70 : CompileServer(Comp), argc(argc), argv(argv) {} | 70 : CompileServer(Comp), argc(argc), argv(argv) {} |
| 71 | 71 |
| 72 ~CLCompileServer() final {} | 72 ~CLCompileServer() final = default; |
| 73 | 73 |
| 74 void run() final; | 74 void run() final; |
| 75 | 75 |
| 76 private: | 76 private: |
| 77 int argc; | 77 int argc; |
| 78 char **argv; | 78 char **argv; |
| 79 std::unique_ptr<GlobalContext> Ctx; | 79 std::unique_ptr<GlobalContext> Ctx; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // end of namespace Ice | 82 } // end of namespace Ice |
| 83 | 83 |
| 84 #endif // SUBZERO_SRC_ICECOMPILESERVER_H | 84 #endif // SUBZERO_SRC_ICECOMPILESERVER_H |
| OLD | NEW |