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:
1002c02
)
Remove an unnecessary reinterpret_cast.
author
Dan Gohman
<gohman@apple.com>
Mon, 7 Jul 2008 18:07:36 +0000
(18:07 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 7 Jul 2008 18:07:36 +0000
(18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/FoldingSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/FoldingSet.h
b/include/llvm/ADT/FoldingSet.h
index 7629301066e39bc894bac0ba7eae0726f078e8d1..f34a62d4f4c6be1076dc3752d13402212105aa36 100644
(file)
--- a/
include/llvm/ADT/FoldingSet.h
+++ b/
include/llvm/ADT/FoldingSet.h
@@
-348,7
+348,7
@@
protected:
explicit FoldingSetBucketIteratorImpl(void **Bucket);
FoldingSetBucketIteratorImpl(void **Bucket, bool)
- : Ptr(
reinterpret_cast<void*>(Bucket)
) {}
+ : Ptr(
Bucket
) {}
void advance() {
void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();