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

Side by Side Diff: src/IceCompiler.h

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix typos, comment types, groupings and other identified issues. 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
OLDNEW
1 //===- subzero/src/IceCompiler.h - Compiler driver --------------*- C++ -*-===// 1 //===- subzero/src/IceCompiler.h - Compiler driver --------------*- 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 driver for translating bitcode to native code. 10 /// \file
11 // 11 /// This file declares the driver for translating bitcode to native code.
12 ///
12 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
13 14
14 #ifndef SUBZERO_SRC_ICECOMPILER_H 15 #ifndef SUBZERO_SRC_ICECOMPILER_H
15 #define SUBZERO_SRC_ICECOMPILER_H 16 #define SUBZERO_SRC_ICECOMPILER_H
16 17
17 #include "IceDefs.h" 18 #include "IceDefs.h"
18 19
19 namespace llvm { 20 namespace llvm {
20 class DataStreamer; 21 class DataStreamer;
21 } 22 }
22 23
23 namespace Ice { 24 namespace Ice {
24 25
25 class ClFlagsExtra; 26 class ClFlagsExtra;
26 27
27 // A compiler driver. It may be called to handle a single compile request. 28 /// A compiler driver. It may be called to handle a single compile request.
28 class Compiler { 29 class Compiler {
29 Compiler(const Compiler &) = delete; 30 Compiler(const Compiler &) = delete;
30 Compiler &operator=(const Compiler &) = delete; 31 Compiler &operator=(const Compiler &) = delete;
31 32
32 public: 33 public:
33 Compiler() = default; 34 Compiler() = default;
34 35
35 // Run the compiler with the given GlobalContext for compilation 36 /// Run the compiler with the given GlobalContext for compilation
36 // state. Upon error, the Context's error status will be set. 37 /// state. Upon error, the Context's error status will be set.
37 void run(const ClFlagsExtra &ExtraFlags, GlobalContext &Ctx, 38 void run(const ClFlagsExtra &ExtraFlags, GlobalContext &Ctx,
38 std::unique_ptr<llvm::DataStreamer> &&InputStream); 39 std::unique_ptr<llvm::DataStreamer> &&InputStream);
39 }; 40 };
40 41
41 } // end of namespace Ice 42 } // end of namespace Ice
42 43
43 #endif // SUBZERO_SRC_ICECOMPILER_H 44 #endif // SUBZERO_SRC_ICECOMPILER_H
OLDNEW
« no previous file with comments | « src/IceCompileServer.cpp ('k') | src/IceCompiler.cpp » ('j') | src/IceCompiler.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698