ADTTests/OptionalTest.cpp: Use LLVM_DELETED_FUNCTION.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218750 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-10-01 09:14:43 +00:00
parent ff18b9ff38
commit 909a11120e

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