Go to file
Anna Zaks 9e0da9e070 [analyzer] Warn on passing a reference to null pointer as an argument in a call
Warn about null pointer dereference earlier when a reference to a null pointer is
passed in a call. The idea is that even though the standard might allow this, reporting
the issue earlier is better for diagnostics (the error is reported closer to the place where
the pointer was set to NULL). This also simplifies analyzer’s diagnostic logic, which has
to track “where the null came from”. As a consequence, some of our null pointer
warning suppression mechanisms started triggering more often.

TODO: Change the name of the file and class to reflect the new check.
llvm-svn: 176612
2013-03-07 03:02:36 +00:00
clang [analyzer] Warn on passing a reference to null pointer as an argument in a call 2013-03-07 03:02:36 +00:00
clang-tools-extra Test case for PR-15414 - nullptr_t functions 2013-03-06 15:32:20 +00:00
compiler-rt [msan] Block reports from interceptors during _Unwind_Backtrace 2013-03-06 16:11:58 +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 No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. 2013-03-06 23:30:19 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [ELF] Order weak symbols properly 2013-03-06 21:59:27 +00:00
lldb Stop the "module" property from throwing an exception when the module name was not found in the target module list. 2013-03-07 02:58:47 +00:00
llvm Remove GCDAProfiling.c. This copy is old, the copy in compiler-rt is newer and 2013-03-07 02:03:08 +00:00
polly Print function names under --polly-report 2013-03-04 19:49:51 +00:00