summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-01-27 18:06:03 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-01-27 18:06:03 +0000
commitec39eb851984f5ddcabfcde7cb8e28bf4f442261 (patch)
tree3bf202eb0590baf6b92406f9750c8616fb0ca15a /clang/lib/AST/ExprConstant.cpp
parented2ba0fb015c02c5d6427b0b2b29143656cf54c1 (diff)
downloadbcm5719-llvm-ec39eb851984f5ddcabfcde7cb8e28bf4f442261.tar.gz
bcm5719-llvm-ec39eb851984f5ddcabfcde7cb8e28bf4f442261.zip
APInt's countLeadingOnes() was broken for negative i128 values,
causing assertion failures in getSExtValue(). Fix it by making highWordBits actually contain what its name says, and add some more unit-tests for APInt. This fixes PR3419. llvm-svn: 63107
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud