OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edca3c5
)
Various bugfixes
author
Chris Lattner
<sabre@nondot.org>
Sun, 4 Feb 2007 00:12:12 +0000
(
00:12
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 4 Feb 2007 00:12:12 +0000
(
00:12
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33848
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallSet.h
b/include/llvm/ADT/SmallSet.h
index
64eb581
..
30e8ee5
100644
(file)
--- a/
include/llvm/ADT/SmallSet.h
+++ b/
include/llvm/ADT/SmallSet.h
@@
-78,7
+78,7
@@
public:
bool erase(const T &V) {
if (!isSmall())
- return Set.erase(V)
.second
;
+ return Set.erase(V);
for (mutable_iterator I = Vector.begin(), E = Vector.end(); I != E; ++I)
if (*I == V) {
Vector.erase(I);