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

Unified Diff: src/PNaClTranslator.h

Issue 656123003: Subzero: Class definition cleanup. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes for Karl Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTranslator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/PNaClTranslator.h
diff --git a/src/PNaClTranslator.h b/src/PNaClTranslator.h
index aa73f83453340ebd6958bfe5a15e35e5c4a978f2..dea7d43fdaebedfee355163bd865da964ea9c9e7 100644
--- a/src/PNaClTranslator.h
+++ b/src/PNaClTranslator.h
@@ -22,6 +22,9 @@
namespace Ice {
class PNaClTranslator : public Translator {
+ PNaClTranslator(const PNaClTranslator &) = delete;
+ PNaClTranslator &operator=(const PNaClTranslator &) = delete;
+
public:
PNaClTranslator(GlobalContext *Ctx, const ClFlags &Flags)
: Translator(Ctx, Flags) {}
@@ -29,11 +32,8 @@ public:
// converted to machine code. Sets ErrorStatus to true if any
// errors occurred.
void translate(const std::string &IRFilename);
-
-private:
- PNaClTranslator(const PNaClTranslator &) = delete;
- PNaClTranslator &operator=(const PNaClTranslator &) = delete;
};
-}
+
+} // end of namespace Ice
#endif // SUBZERO_SRC_PNACLTRANSLATOR_H
« no previous file with comments | « src/IceTranslator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698