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

Side by Side Diff: src/PNaClTranslator.h

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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/IceTranslator.h ('K') | « src/IceUtils.h ('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/PNaClTranslator.h - ICE from bitcode ---------*- C++ -*-===// 1 //===- subzero/src/PNaClTranslator.h - ICE from bitcode ---------*- 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 PNaCl bitcode file to ICE, to machine code 10 // This file declares the PNaCl bitcode file to ICE, to machine code
(...skipping 16 matching lines...) Expand all
27 namespace Ice { 27 namespace Ice {
28 28
29 class PNaClTranslator : public Translator { 29 class PNaClTranslator : public Translator {
30 PNaClTranslator() = delete; 30 PNaClTranslator() = delete;
31 PNaClTranslator(const PNaClTranslator &) = delete; 31 PNaClTranslator(const PNaClTranslator &) = delete;
32 PNaClTranslator &operator=(const PNaClTranslator &) = delete; 32 PNaClTranslator &operator=(const PNaClTranslator &) = delete;
33 33
34 public: 34 public:
35 explicit PNaClTranslator(GlobalContext *Ctx) : Translator(Ctx) {} 35 explicit PNaClTranslator(GlobalContext *Ctx) : Translator(Ctx) {}
36 36
37 // Reads the PNaCl bitcode file and translates to ICE, which is then 37 /// Reads the PNaCl bitcode file and translates to ICE, which is then
38 // converted to machine code. Sets ErrorStatus to 1 if any errors 38 /// converted to machine code. Sets ErrorStatus to 1 if any errors
39 // occurred. Takes ownership of the MemoryObject. 39 /// occurred. Takes ownership of the MemoryObject.
40 void translate(const std::string &IRFilename, 40 void translate(const std::string &IRFilename,
41 std::unique_ptr<llvm::MemoryObject> &&MemoryObject); 41 std::unique_ptr<llvm::MemoryObject> &&MemoryObject);
42 42
43 // Reads MemBuf, assuming it is the PNaCl bitcode contents of IRFilename. 43 /// Reads MemBuf, assuming it is the PNaCl bitcode contents of IRFilename.
44 void translateBuffer(const std::string &IRFilename, 44 void translateBuffer(const std::string &IRFilename,
45 llvm::MemoryBuffer *MemBuf); 45 llvm::MemoryBuffer *MemBuf);
46 }; 46 };
47 47
48 } // end of namespace Ice 48 } // end of namespace Ice
49 49
50 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H 50 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H
OLDNEW
« src/IceTranslator.h ('K') | « src/IceUtils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698