[llvm] r210665 - SmallVectorTest: Make the deleted member functions private to help MSVC users.
David Blaikie
dblaikie at gmail.com
Wed Jun 11 10:50:15 PDT 2014
Author: dblaikie
Date: Wed Jun 11 12:50:14 2014
New Revision: 210665
URL: http://llvm.org/viewvc/llvm-project?rev=210665&view=rev
Log:
SmallVectorTest: Make the deleted member functions private to help MSVC users.
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=210665&r1=210664&r2=210665&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/SmallVectorTest.cpp (original)
+++ llvm/trunk/unittests/ADT/SmallVectorTest.cpp Wed Jun 11 12:50:14 2014
@@ -143,6 +143,7 @@ struct NonCopyable {
NonCopyable() {}
NonCopyable(NonCopyable &&) {}
NonCopyable &operator=(NonCopyable &&) { return *this; }
+private:
NonCopyable(const NonCopyable &) LLVM_DELETED_FUNCTION;
NonCopyable &operator=(const NonCopyable &) LLVM_DELETED_FUNCTION;
};
More information about the llvm-commits
mailing list