Go to file
Alexander Shaposhnikov 015da3534a [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
2017-04-21 01:05:26 +00:00
clang [analyzer] Fix assert in ExprEngine::processSwitch 2017-04-21 01:05:26 +00:00
clang-tools-extra [clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default. 2017-04-19 14:55:58 +00:00
compiler-rt [asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access" 2017-04-21 00:48:43 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix 'verify-support' available feature 2017-04-21 00:43:07 +00:00
libcxxabi Fix PR25874 - cxa_thread_atexit_test.pass.cpp has an incorrect XFAIL. 2017-04-20 23:40:35 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld COFF: Remove some undefined declarations. NFC. 2017-04-20 22:23:36 +00:00
lldb Add an example command to toggle between disassembly-only and source mode. 2017-04-20 21:51:27 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [AArch64] Use suffix ULL to shift a 64-bit value. 2017-04-21 00:35:27 +00:00
openmp Fix crash in invoking microtask on ios arm64. 2017-04-17 11:58:20 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DeLICM] Use Known information when comparing Existing.Written and Proposed.Written. 2017-04-20 19:16:39 +00:00