Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that...
[oota-llvm.git] / include / llvm / Support / RWMutex.h
index 0d4cb81de397d36e1148fc09a05d403b9e93972d..935b3075df58d648daf4993d0955e0cdeaf20ba7 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef LLVM_SYSTEM_RWMUTEX_H
 #define LLVM_SYSTEM_RWMUTEX_H
 
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/Threading.h"
 #include <cassert>
 
@@ -75,8 +76,8 @@ namespace llvm
     /// @name Do Not Implement
     /// @{
     private:
-      RWMutexImpl(const RWMutexImpl & original);
-      void operator=(const RWMutexImpl &);
+      RWMutexImpl(const RWMutexImpl & original) LLVM_DELETED_FUNCTION;
+      void operator=(const RWMutexImpl &) LLVM_DELETED_FUNCTION;
     /// @}
     };