[llvm-commits] [llvm] r168009 - /llvm/trunk/include/llvm/ADT/SmallVector.h

Jakub Staszak kubastaszak at gmail.com
Wed Nov 14 16:25:37 PST 2012


Author: kuba
Date: Wed Nov 14 18:25:36 2012
New Revision: 168009

URL: http://llvm.org/viewvc/llvm-project?rev=168009&view=rev
Log:
Use LLVM_DELETED_FUNCTION.

Modified:
    llvm/trunk/include/llvm/ADT/SmallVector.h

Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=168009&r1=168008&r2=168009&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Wed Nov 14 18:25:36 2012
@@ -365,7 +365,7 @@
 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;





More information about the llvm-commits mailing list