aboutsummaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorJoe Groff <arcata@gmail.com>2013-04-09 00:01:51 +0000
committerJoe Groff <arcata@gmail.com>2013-04-09 00:01:51 +0000
commitb3d25a940cfd44ffbac71adc6d8f3759ad8a8cb4 (patch)
tree375fc1af06591b62b49770d4c4aee244996e131c /lib/Target
parent3388589fc102b873ee9b73ffdab0f532ee3ceda6 (diff)
Fix PointerIntPair to be enum class compatible.
Some parts of PointerIntPair assumed that the IntType of the pair was implicitly convertible to intptr_t, which is not the case for enum class values. Add a static_cast<intptr_t> to make these conversions explicit and allow PointerIntPair to be used with an enum class IntType. While we're here, rename some of the argument values so we don't have variables named "Int" floating around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
0 files changed, 0 insertions, 0 deletions