OSDN Git Service

SmallVectorTest.cpp: Use LLVM_DELETED_FUNCTION.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 10 Jun 2014 04:06:56 +0000 (04:06 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 10 Jun 2014 04:06:56 +0000 (04:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210507 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ADT/SmallVectorTest.cpp

index 99deb0c..2d2668a 100644 (file)
@@ -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() {