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

Unified Diff: src/IceGlobalContext.cpp

Issue 619983002: Subzero: Remove LLVM_DELETED_FUNCTION. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 3 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/IceGlobalContext.h ('k') | src/IceInst.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalContext.cpp
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp
index 251635f39facc9e8b1b7760758b180834f0a3dad..82f59aa2d84abe4222400d46555cbf6e72d5e958 100644
--- a/src/IceGlobalContext.cpp
+++ b/src/IceGlobalContext.cpp
@@ -35,8 +35,8 @@ namespace Ice {
// KeyTypeHasFP with C++11.
template <typename KeyType, typename ValueType, bool KeyTypeHasFP = false>
class TypePool {
- TypePool(const TypePool &) LLVM_DELETED_FUNCTION;
- TypePool &operator=(const TypePool &) LLVM_DELETED_FUNCTION;
+ TypePool(const TypePool &) = delete;
+ TypePool &operator=(const TypePool &) = delete;
public:
TypePool() : NextPoolID(0) {}
@@ -79,8 +79,8 @@ private:
// UndefPool maps ICE types to the corresponding ConstantUndef values.
class UndefPool {
- UndefPool(const UndefPool &) LLVM_DELETED_FUNCTION;
- UndefPool &operator=(const UndefPool &) LLVM_DELETED_FUNCTION;
+ UndefPool(const UndefPool &) = delete;
+ UndefPool &operator=(const UndefPool &) = delete;
public:
UndefPool() : NextPoolID(0) {}
@@ -103,8 +103,8 @@ private:
// The global constant pool bundles individual pools of each type of
// interest.
class ConstantPool {
- ConstantPool(const ConstantPool &) LLVM_DELETED_FUNCTION;
- ConstantPool &operator=(const ConstantPool &) LLVM_DELETED_FUNCTION;
+ ConstantPool(const ConstantPool &) = delete;
+ ConstantPool &operator=(const ConstantPool &) = delete;
public:
ConstantPool() {}
« no previous file with comments | « src/IceGlobalContext.h ('k') | src/IceInst.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698