SmallVectorTest.cpp: Use LLVM_DELETED_FUNCTION.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-06-10 04:06:56 +00:00
parent 8b9e31c6e2
commit 6e02efd130

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