[ADT] Fix PointerEmbeddedInt when the underlying type is uintptr_t.
authorJordan Rose <jordan_rose@apple.com>
Thu, 18 Feb 2016 21:00:08 +0000 (21:00 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 18 Feb 2016 21:00:08 +0000 (21:00 +0000)
commit3c81d6240b95decab635819959b36fa5b6d0079e
tree5e62f5d7f78071e70e8eecdc20a306bcae8fd3ff
parentb6c6dda439566ed8da56ca6684aefddb5474785e
[ADT] Fix PointerEmbeddedInt when the underlying type is uintptr_t.

...and when you try to store negative values in it.

llvm-svn: 261259
llvm/include/llvm/ADT/PointerEmbeddedInt.h
llvm/unittests/ADT/PointerEmbeddedIntTest.cpp