summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-11 17:50:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-11 17:50:14 +0000
commite23e227a5c0ed1e68eb832a7d03a9a29b1206087 (patch)
tree28e2fdcdbd49fba63055c068fe665d7c02d2056e /unittests
parenta2dca4cc0467dd2bbde1df89dab56380fe751a92 (diff)
downloadllvm-e23e227a5c0ed1e68eb832a7d03a9a29b1206087.tar.gz
llvm-e23e227a5c0ed1e68eb832a7d03a9a29b1206087.tar.bz2
llvm-e23e227a5c0ed1e68eb832a7d03a9a29b1206087.tar.xz
SmallVectorTest: Make the deleted member functions private to help MSVC users.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/SmallVectorTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/ADT/SmallVectorTest.cpp b/unittests/ADT/SmallVectorTest.cpp
index 2d2668aca9..95bf33e5bf 100644
--- a/unittests/ADT/SmallVectorTest.cpp
+++ b/unittests/ADT/SmallVectorTest.cpp
@@ -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;
};