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() {} |