Go to file
Jordan Rose 5ca395462e [analyzer] Don't rely on finding the correct return statement for suppression.
Previously, ReturnVisitor waited to suppress a null return path until it
had found the inlined "return" statement. Now, it checks up front whether
the return value was NULL, and suppresses the warning right away if so.

We still have to wait until generating the path notes to invalidate the bug
report, or counter-suppression will never be triggered. (Counter-suppression
happens while generating path notes, but the generation won't happen for
reports already marked invalid.)

This isn't actually an issue today because we never reclaim nodes for
top-level statements (like return statements), but it could be an issue
some day in the future. (But, no expected behavioral change and no new
test case.)

llvm-svn: 176736
2013-03-08 23:30:53 +00:00
clang [analyzer] Don't rely on finding the correct return statement for suppression. 2013-03-08 23:30:53 +00:00
clang-tools-extra Adding user documentation for UseAuto transform 2013-03-08 23:26:00 +00:00
compiler-rt Take the GCDA version string as an input to llvm_gcda_start_file. 2013-03-07 08:28:54 +00:00
debuginfo-tests Harden this test a bit to work on the mac with ancient gdbs. 2013-01-17 20:09:50 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Parsing floating point numbers with very long precision was broken, and this patch fixes it. This fixes http://llvm.org/bugs/show_bug.cgi?id=15445. 2013-03-08 19:06:24 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [ELF] Create baseclass for all ELF writers 2013-03-08 21:42:51 +00:00
lldb <rdar://problem/13361742> 2013-03-08 21:46:30 +00:00
llvm Remove wrong and unnecessary assertion. 2013-03-08 23:00:13 +00:00
polly Print function names under --polly-report 2013-03-04 19:49:51 +00:00