summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Staszak <kubastaszak@gmail.com>2012-11-15 00:25:36 +0000
committerJakub Staszak <kubastaszak@gmail.com>2012-11-15 00:25:36 +0000
commitb61a11f7c0a6dd453f2b53e0583fe14603516420 (patch)
treed7b50c669f8385416a6d68d962bc0db565319d21 /include
parent40b6fdb81e12b40dd41c9f9f07befb60ec7291c3 (diff)
downloadllvm-b61a11f7c0a6dd453f2b53e0583fe14603516420.tar.gz
llvm-b61a11f7c0a6dd453f2b53e0583fe14603516420.tar.bz2
llvm-b61a11f7c0a6dd453f2b53e0583fe14603516420.tar.xz
Use LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h
index 6e0fd94dfe..e508f9df90 100644
--- a/include/llvm/ADT/SmallVector.h
+++ b/include/llvm/ADT/SmallVector.h
@@ -365,7 +365,7 @@ template <typename T>
class SmallVectorImpl : public SmallVectorTemplateBase<T, isPodLike<T>::value> {
typedef SmallVectorTemplateBase<T, isPodLike<T>::value > SuperClass;
- SmallVectorImpl(const SmallVectorImpl&); // DISABLED.
+ SmallVectorImpl(const SmallVectorImpl&) LLVM_DELETED_FUNCTION;
public:
typedef typename SuperClass::iterator iterator;
typedef typename SuperClass::size_type size_type;