summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.exception/except.nested/assign.pass.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2017-04-21 01:05:26 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2017-04-21 01:05:26 +0000
commit015da3534aaa687c47c520a5bc442c15b15b3d01 (patch)
treee63c0823a75733018d067ba44a6bb7b5866ee7f4 /libcxx/test/std/language.support/support.exception/except.nested/assign.pass.cpp
parente03dc7d7546f8e42fa1dd9688f7003905e5ff2ad (diff)
downloadbcm5719-llvm-015da3534aaa687c47c520a5bc442c15b15b3d01.tar.gz
bcm5719-llvm-015da3534aaa687c47c520a5bc442c15b15b3d01.zip
[analyzer] Fix assert in ExprEngine::processSwitch
This diff replaces getTypeSize(CondE->getType())) with getIntWidth(CondE->getType())) in ExprEngine::processSwitch. These calls are not equivalent for bool, see ASTContext.cpp Add a test case. Test plan: make check-clang-analysis make check-clang Differential revision: https://reviews.llvm.org/D32328 llvm-svn: 300936
Diffstat (limited to 'libcxx/test/std/language.support/support.exception/except.nested/assign.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud