ADTTests/OptionalTest.cpp: Use LLVM_DELETED_FUNCTION.

llvm-svn: 218750
This commit is contained in:
NAKAMURA Takumi 2014-10-01 09:14:43 +00:00
parent 60f9392eb7
commit 36301a0d31
1 changed files with 4 additions and 4 deletions

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