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:
parent
f4985610cd
commit
db6522181c
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user