projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be63d58
)
Prevent use of the implicit copy constructor on SmallPtrSetImpl. An accidental copy...
author
Craig Topper
<craig.topper@gmail.com>
Tue, 19 Aug 2014 06:57:14 +0000
(06:57 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Tue, 19 Aug 2014 06:57:14 +0000
(06:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215971
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallPtrSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallPtrSet.h
b/include/llvm/ADT/SmallPtrSet.h
index 74f3fd43cec4cbd1ecfdce82410d4905b9570da7..60a028566e3f4e4859e549f8dcee66fb245c6937 100644
(file)
--- a/
include/llvm/ADT/SmallPtrSet.h
+++ b/
include/llvm/ADT/SmallPtrSet.h
@@
-240,6
+240,8
@@
struct RoundUpToPowerOfTwo {
template <typename PtrType>
class SmallPtrSetImpl : public SmallPtrSetImplBase {
typedef PointerLikeTypeTraits<PtrType> PtrTraits;
+
+ SmallPtrSetImpl(const SmallPtrSetImpl&) LLVM_DELETED_FUNCTION;
protected:
// Constructors that forward to the base.
SmallPtrSetImpl(const void **SmallStorage, const SmallPtrSetImpl &that)