1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

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 f4985610cd
commit db6522181c

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