ADTTests/OptionalTest.cpp: Use LLVM_DELETED_FUNCTION.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Oct 2014 09:14:43 +0000 (09:14 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 1 Oct 2014 09:14:43 +0000 (09:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218750 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ADT/OptionalTest.cpp

index 5a763d76f45560a6dd3df08e7c7e1a15fdfc5bb7..4482d6157bbcae0fad431b1f66bba4ebc6a124e9 100644 (file)
@@ -183,10 +183,10 @@ struct MultiArgConstructor {
   explicit MultiArgConstructor(int x, bool positive)
     : x(x), y(positive ? x : -x) {}
 
-  MultiArgConstructor(const MultiArgConstructor &) = delete;
-  MultiArgConstructor(MultiArgConstructor &&) = delete;
-  MultiArgConstructor &operator=(const MultiArgConstructor &) = delete;
-  MultiArgConstructor &operator=(MultiArgConstructor &&) = delete;
+  MultiArgConstructor(const MultiArgConstructor &) LLVM_DELETED_FUNCTION;
+  MultiArgConstructor(MultiArgConstructor &&) LLVM_DELETED_FUNCTION;
+  MultiArgConstructor &operator=(const MultiArgConstructor &) LLVM_DELETED_FUNCTION;
+  MultiArgConstructor &operator=(MultiArgConstructor &&) LLVM_DELETED_FUNCTION;
 
   static unsigned Destructions;
   ~MultiArgConstructor() {