Skip to content

Commit 36301a0

Browse files
committed
ADTTests/OptionalTest.cpp: Use LLVM_DELETED_FUNCTION.
llvm-svn: 218750
1 parent 60f9392 commit 36301a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/unittests/ADT/OptionalTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ struct MultiArgConstructor {
183183
explicit MultiArgConstructor(int x, bool positive)
184184
: x(x), y(positive ? x : -x) {}
185185

186-
MultiArgConstructor(const MultiArgConstructor &) = delete;
187-
MultiArgConstructor(MultiArgConstructor &&) = delete;
188-
MultiArgConstructor &operator=(const MultiArgConstructor &) = delete;
189-
MultiArgConstructor &operator=(MultiArgConstructor &&) = delete;
186+
MultiArgConstructor(const MultiArgConstructor &) LLVM_DELETED_FUNCTION;
187+
MultiArgConstructor(MultiArgConstructor &&) LLVM_DELETED_FUNCTION;
188+
MultiArgConstructor &operator=(const MultiArgConstructor &) LLVM_DELETED_FUNCTION;
189+
MultiArgConstructor &operator=(MultiArgConstructor &&) LLVM_DELETED_FUNCTION;
190190

191191
static unsigned Destructions;
192192
~MultiArgConstructor() {

0 commit comments

Comments
 (0)