aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/ConstantRange.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2012-07-23 20:24:23 +0000
committerRichard Trieu <rtrieu@google.com>2012-07-23 20:24:23 +0000
commit5e31044e119c75899b91ca97eb4d8ba786afc01c (patch)
treec2bf70e8b4849325f720dbdfa536d9ff418171e7 /lib/Support/ConstantRange.cpp
parentc72d3be38915728142d13f982eeef218e42f21aa (diff)
downloadexternal_llvm-5e31044e119c75899b91ca97eb4d8ba786afc01c.zip
external_llvm-5e31044e119c75899b91ca97eb4d8ba786afc01c.tar.gz
external_llvm-5e31044e119c75899b91ca97eb4d8ba786afc01c.tar.bz2
Add operator== to APSInt. This will compare the signed bit before doing
the comparison. This prevents large unsigned integers from being equal to signed negative integers of the same bit width. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions