aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-07 18:07:36 +0000
committerDan Gohman <gohman@apple.com>2008-07-07 18:07:36 +0000
commit70cc96db1f11a60833d0c1c6f44673bd658f333b (patch)
treea5f4d00865dacf3a9e0456e27c3f15db6f064668 /include
parente887fdff72486ad0e83f402c8c105fa91fff1036 (diff)
downloadexternal_llvm-70cc96db1f11a60833d0c1c6f44673bd658f333b.zip
external_llvm-70cc96db1f11a60833d0c1c6f44673bd658f333b.tar.gz
external_llvm-70cc96db1f11a60833d0c1c6f44673bd658f333b.tar.bz2
Remove an unnecessary reinterpret_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/FoldingSet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h
index 7629301..f34a62d 100644
--- 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();