OSDN Git Service

Allow PointerIntPairs to be created from const void *.
authorJordan Rose <jordan_rose@apple.com>
Wed, 18 Jul 2012 21:58:49 +0000 (21:58 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 18 Jul 2012 21:58:49 +0000 (21:58 +0000)
commit6ef4996b095ef6c0d902798d2455716a79bd0a3d
tree836b22960c27c036aedec22c3bc75f469c1c2909
parent62a89f5808bbb620767d95adb784978ed2e7bff0
Allow PointerIntPairs to be created from const void *.

For a measure of safety, this conversion is only permitted if the
stored pointer type can also be created from a const void *.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160456 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/PointerIntPair.h