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

Side by Side Diff: src/IceCompileServer.h

Issue 1062803005: Removing 3 warnings. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 8 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 | « src/IceClFlags.h ('k') | src/IceTypes.cpp » ('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,
11 // it dispatches compile requests to the implementation. 11 // it dispatches compile requests to the implementation.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_ICECOMPILESERVER_H 15 #ifndef SUBZERO_SRC_ICECOMPILESERVER_H
16 #define SUBZERO_SRC_ICECOMPILESERVER_H 16 #define SUBZERO_SRC_ICECOMPILESERVER_H
17 17
18 #include "IceCompiler.h" 18 #include "IceCompiler.h"
19 #include "IceDefs.h" 19 #include "IceDefs.h"
20 #include "IceGlobalContext.h" 20 #include "IceGlobalContext.h"
21 21
22 namespace llvm { 22 namespace llvm {
23 class DataStreamer; 23 class DataStreamer;
24 class raw_fd_ostream; 24 class raw_fd_ostream;
25 }; 25 }
26 26
27 namespace Ice { 27 namespace Ice {
28 28
29 // A CompileServer awaits compile requests, and dispatches the requests 29 // A CompileServer awaits compile requests, and dispatches the requests
30 // to a given Compiler. Each request is paired with an input stream, 30 // to a given Compiler. Each request is paired with an input stream,
31 // a context (which has the output stream), and a set of arguments. 31 // a context (which has the output stream), and a set of arguments.
32 // The CompileServer takes over the current thread to listen to requests, 32 // The CompileServer takes over the current thread to listen to requests,
33 // and compile requests are handled on separate threads. 33 // and compile requests are handled on separate threads.
34 // 34 //
35 // Currently, this only handles a single request. 35 // Currently, this only handles a single request.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 | « src/IceClFlags.h ('k') | src/IceTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698