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

Unified Diff: src/IceAPInt.h

Issue 952953002: Subzero: Improve class definition hygiene. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix typo Created 5 years, 10 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 | « crosstest/vectors.h ('k') | src/IceCfg.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceAPInt.h
diff --git a/src/IceAPInt.h b/src/IceAPInt.h
index 1789dd5751aa88d30d373579c19341884385ab44..01ce280991be1410e48dde299671b9bd44d67fb7 100644
--- a/src/IceAPInt.h
+++ b/src/IceAPInt.h
@@ -9,7 +9,7 @@
///
/// \file
/// \brief This file implements a class to represent 64 bit integer constant
-/// values, and thier conversion to variable bit sized integers.
+/// values, and their conversion to variable bit sized integers.
///
/// Note: This is a simplified version of llvm/include/llvm/ADT/APInt.h for use
/// with Subzero.
@@ -23,6 +23,10 @@
namespace Ice {
class APInt {
+ APInt() = delete;
+ APInt(const APInt &) = delete;
+ APInt &operator=(const APInt &) = delete;
+
public:
/// Bits in an (internal) value.
static const SizeT APINT_BITS_PER_WORD = sizeof(uint64_t) * CHAR_BIT;
« no previous file with comments | « crosstest/vectors.h ('k') | src/IceCfg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698