Go to file
Devin Coughlin 5b1ee2fad9 [analyzer] Add sink after construction of temporary with no-return destructor.
The analyzer's CFG currently doesn't have nodes for calls to temporary
destructors. This causes the analyzer to explore infeasible paths in which
a no-return destructor would have stopped exploration and so results in false
positives when no-return destructors are used to implement assertions.

To mitigate these false positives, this patch stops generates a sink after
evaluating a constructor on a temporary object that has a no-return destructor.
This results in a loss of coverage because the time at which the destructor is
called may be after the time of construction (especially for lifetime-extended
temporaries).

This addresses PR15599.

rdar://problem/29131566

llvm-svn: 290140
2016-12-19 22:23:22 +00:00
clang [analyzer] Add sink after construction of temporary with no-return destructor. 2016-12-19 22:23:22 +00:00
clang-tools-extra [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
compiler-rt Fixup for r290119: Only run debug_alloc_stack.cc on Darwin until I figure out how to make it work on Linux. 2016-12-19 18:54:34 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [CMake] Fix issue reported on sanitizer bots 2016-12-17 21:28:24 +00:00
libcxxabi [libc++abi] Mark failing test on Darwin as XFAIL 2016-12-13 02:43:04 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld Fix corner cases of setting the section address. 2016-12-19 21:21:07 +00:00
lldb Expression evaluation for overloaded C functions (redux) 2016-12-19 17:22:44 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [ObjectYAML] Support for DWARF Pub Sections 2016-12-19 22:22:12 +00:00
openmp Follow up to r289732: Update comments in source files to reference .cpp files 2016-12-14 23:01:24 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Fix clang-format 2016-12-19 14:06:40 +00:00