Go to file
Artem Dergachev 12294f8d2e [analyzer] Simplify values in binary operations a bit more aggressively.
SValBuilder tries to constant-fold symbols in the left-hand side of the symbolic
expression whenever it fails to evaluate the expression directly. However, it
only constant-folds them when they are atomic expressions, not when they are
complicated expressions themselves. This patch adds recursive constant-folding
to the left-hand side subexpression (there's a lack of symmetry because we're
trying to have symbols on the left and constants on the right). As an example,
we'd now be able to handle operations similar to "$x + 1 < $y", when $x is
constrained to a constant.

rdar://problem/31354676

Differential Revision: https://reviews.llvm.org/D31886

llvm-svn: 300178
2017-04-13 07:20:04 +00:00
clang [analyzer] Simplify values in binary operations a bit more aggressively. 2017-04-13 07:20:04 +00:00
clang-tools-extra Fix clang-tidy shared link with libc++ 2017-04-12 22:07:47 +00:00
compiler-rt [msan] Fix msan_test broken after r299884. 2017-04-13 00:36:03 +00:00
debuginfo-tests Add an end-to-end testcase for address sanitizer. 2017-04-06 23:36:44 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Cleanup any_cast failure test 2017-04-13 05:27:55 +00:00
libcxxabi [CMake][libcxxabi] Use -nodefaultlibs for CMake checks 2017-04-07 20:10:41 +00:00
libunwind Reland "[CMake][libunwind] Use -nodefaultlibs for CMake checks" 2017-04-12 02:28:07 +00:00
lld Add comments for the RELRO segment. 2017-04-13 05:40:07 +00:00
lldb Don't use uuid_clear(), non-darwin platforms include 2017-04-13 02:12:32 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [ORC] Temporarily disable the RPC Error/Expected unit tests while I investigate 2017-04-13 06:20:45 +00:00
openmp Test cancellation_for_sections.c expectedly fails on GCC 2017-04-04 14:39:52 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Exploit BasicBlock::getModule to shorten code 2017-04-11 04:59:13 +00:00