summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc.c
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
commit6cdbe3f6df12183dce2d4c98a59a47d51acf659d (patch)
tree2527da78e551e8dea2d35f9883d6fba396defc87 /clang/test/Analysis/malloc.c
parent65d601f96c58cdcce9844a3973d178753dc0d9d3 (diff)
downloadbcm5719-llvm-6cdbe3f6df12183dce2d4c98a59a47d51acf659d.tar.gz
bcm5719-llvm-6cdbe3f6df12183dce2d4c98a59a47d51acf659d.zip
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. llvm-svn: 179073
Diffstat (limited to 'clang/test/Analysis/malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud