[llvm] r210507 - SmallVectorTest.cpp: Use LLVM_DELETED_FUNCTION.

NAKAMURA Takumi geek4civic at gmail.com
Mon Jun 9 21:06:59 PDT 2014


Author: chapuni
Date: Mon Jun  9 23:06:56 2014
New Revision: 210507

URL: http://llvm.org/viewvc/llvm-project?rev=210507&view=rev
Log:
SmallVectorTest.cpp: Use LLVM_DELETED_FUNCTION.

Modified:
    llvm/trunk/unittests/ADT/SmallVectorTest.cpp

Modified: llvm/trunk/unittests/ADT/SmallVectorTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/SmallVectorTest.cpp?rev=210507&r1=210506&r2=210507&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/SmallVectorTest.cpp (original)
+++ llvm/trunk/unittests/ADT/SmallVectorTest.cpp Mon Jun  9 23:06:56 2014
@@ -143,8 +143,8 @@ struct NonCopyable {
   NonCopyable() {}
   NonCopyable(NonCopyable &&) {}
   NonCopyable &operator=(NonCopyable &&) { return *this; }
-  NonCopyable(const NonCopyable &) = delete;
-  NonCopyable &operator=(const NonCopyable &) = delete;
+  NonCopyable(const NonCopyable &) LLVM_DELETED_FUNCTION;
+  NonCopyable &operator=(const NonCopyable &) LLVM_DELETED_FUNCTION;
 };
 
 LLVM_ATTRIBUTE_USED void CompileTest() {





More information about the llvm-commits mailing list