Remove an unnecessary reinterpret_cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-07-07 18:07:36 +00:00
parent 1002c02034
commit ccd95b5f9c

View File

@ -348,7 +348,7 @@ protected:
explicit FoldingSetBucketIteratorImpl(void **Bucket); explicit FoldingSetBucketIteratorImpl(void **Bucket);
FoldingSetBucketIteratorImpl(void **Bucket, bool) FoldingSetBucketIteratorImpl(void **Bucket, bool)
: Ptr(reinterpret_cast<void*>(Bucket)) {} : Ptr(Bucket) {}
void advance() { void advance() {
void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket(); void *Probe = static_cast<FoldingSetNode*>(Ptr)->getNextInBucket();