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

Side by Side Diff: src/IceTranslator.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
OLDNEW
1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===// 1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- 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 general driver class for translating ICE to 10 // This file declares the general driver class for translating ICE to
(...skipping 11 matching lines...) Expand all
22 class Module; 22 class Module;
23 } // end of namespace llvm 23 } // end of namespace llvm
24 24
25 namespace Ice { 25 namespace Ice {
26 26
27 class ClFlags; 27 class ClFlags;
28 class Cfg; 28 class Cfg;
29 class VariableDeclaration; 29 class VariableDeclaration;
30 class GlobalContext; 30 class GlobalContext;
31 31
32 // Base class for translating ICE to machine code. Derived classes convert 32 /// Base class for translating ICE to machine code. Derived classes convert
33 // other intermediate representations down to ICE, and then call the appropriate 33 /// other intermediate representations down to ICE, and then call the appropriat e
jvoung (off chromium) 2015/06/30 22:05:48 reflow
ascull 2015/07/06 19:29:10 Done.
34 // (inherited) methods to convert ICE into machine instructions. 34 /// (inherited) methods to convert ICE into machine instructions.
35 class Translator { 35 class Translator {
36 Translator() = delete; 36 Translator() = delete;
37 Translator(const Translator &) = delete; 37 Translator(const Translator &) = delete;
38 Translator &operator=(const Translator &) = delete; 38 Translator &operator=(const Translator &) = delete;
39 39
40 public: 40 public:
41 explicit Translator(GlobalContext *Ctx); 41 explicit Translator(GlobalContext *Ctx);
42 42
43 ~Translator(); 43 ~Translator();
44 const ErrorCode &getErrorStatus() const { return ErrorStatus; } 44 const ErrorCode &getErrorStatus() const { return ErrorStatus; }
(...skipping 18 matching lines...) Expand all
63 /// Prefix to name unnamed names. Errors are put on Ostream. 63 /// Prefix to name unnamed names. Errors are put on Ostream.
64 /// Returns true if there isn't a potential conflict. 64 /// Returns true if there isn't a potential conflict.
65 bool checkIfUnnamedNameSafe(const IceString &Name, const char *Kind, 65 bool checkIfUnnamedNameSafe(const IceString &Name, const char *Kind,
66 const IceString &Prefix); 66 const IceString &Prefix);
67 67
68 uint32_t getNextSequenceNumber() { return NextSequenceNumber++; } 68 uint32_t getNextSequenceNumber() { return NextSequenceNumber++; }
69 69
70 protected: 70 protected:
71 GlobalContext *Ctx; 71 GlobalContext *Ctx;
72 uint32_t NextSequenceNumber; 72 uint32_t NextSequenceNumber;
73 // ErrorCode of the translation. 73 /// ErrorCode of the translation.
74 ErrorCode ErrorStatus; 74 ErrorCode ErrorStatus;
75 }; 75 };
76 76
77 } // end of namespace Ice 77 } // end of namespace Ice
78 78
79 #endif // SUBZERO_SRC_ICETRANSLATOR_H 79 #endif // SUBZERO_SRC_ICETRANSLATOR_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698