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

Side by Side Diff: src/main.cpp

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix the comment reflow Created 5 years, 5 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
« src/IceCompiler.cpp ('K') | « src/PNaClTranslator.cpp ('k') | no next file » | 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/main.cpp - Entry point for bitcode translation ---------===// 1 //===- subzero/src/main.cpp - Entry point for bitcode translation ---------===//
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 defines the entry point for translating PNaCl bitcode into 10 /// \file
11 // native code. 11 /// This file defines the entry point for translating PNaCl bitcode into
12 // 12 /// native code.
13 ///
13 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
14 15
15 #include "IceBrowserCompileServer.h" 16 #include "IceBrowserCompileServer.h"
16 #include "IceCompiler.h" 17 #include "IceCompiler.h"
17 #include "IceCompileServer.h" 18 #include "IceCompileServer.h"
18 19
19 int main(int argc, char **argv) { 20 int main(int argc, char **argv) {
20 // Start file server and "wait" for compile request. 21 // Start file server and "wait" for compile request.
21 Ice::Compiler Comp; 22 Ice::Compiler Comp;
22 // Can only compile the BrowserCompileServer w/ the NaCl compiler. 23 // Can only compile the BrowserCompileServer w/ the NaCl compiler.
23 #if PNACL_BROWSER_TRANSLATOR 24 #if PNACL_BROWSER_TRANSLATOR
24 // There are no real commandline arguments in the browser case. 25 // There are no real commandline arguments in the browser case.
25 // They are supplied via IPC. 26 // They are supplied via IPC.
26 assert(argc == 1); 27 assert(argc == 1);
27 (void)argv; 28 (void)argv;
28 Ice::BrowserCompileServer Server(Comp); 29 Ice::BrowserCompileServer Server(Comp);
29 Server.run(); 30 Server.run();
30 return Server.getErrorCode().value(); 31 return Server.getErrorCode().value();
31 #else // !PNACL_BROWSER_TRANSLATOR 32 #else // !PNACL_BROWSER_TRANSLATOR
32 Ice::CLCompileServer Server(Comp, argc, argv); 33 Ice::CLCompileServer Server(Comp, argc, argv);
33 Server.run(); 34 Server.run();
34 return Server.getErrorCode().value(); 35 return Server.getErrorCode().value();
35 #endif // !PNACL_BROWSER_TRANSLATOR 36 #endif // !PNACL_BROWSER_TRANSLATOR
36 } 37 }
OLDNEW
« src/IceCompiler.cpp ('K') | « src/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698