Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: src/IceCompileServer.h

Issue 1201023002: Subzero: Use more "= default;" for ctors and dtors. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698