diff options
author | Anna Zaks <ganna@apple.com> | 2013-03-13 20:20:14 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-03-13 20:20:14 +0000 |
commit | 6022c4e17c0d2ad9c43ef6bc830d394b670a4705 (patch) | |
tree | 9ebf77b7e9deacadacf4932f35eb4473abd9cf9e /include/clang/Basic/Module.h | |
parent | 1b125665bec87c85921c92ebec1d3f60404d1d86 (diff) |
[analyzer] BugReporter - more precise tracking of C++ references
When BugReporter tracks C++ references involved in a null pointer violation, we
want to differentiate between a null reference and a reference to a null pointer. In the
first case, we want to track the region for the reference location; in the second, we want
to track the null pointer.
In addition, the core creates CXXTempObjectRegion to represent the location of the
C++ reference, so teach FindLastStoreBRVisitor about it.
This helps null pointer suppression to kick in.
(Patch by Anna and Jordan.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Module.h')
0 files changed, 0 insertions, 0 deletions