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 | e9989bd4dfccc35fd456b63f043e5efc5dfea693 (patch) | |
tree | c428bb2571ca18cdab94bfb55891bf41f734368d /clang/lib/Lex/ModuleMap.cpp | |
parent | 795c7b455cc36b2f70e8fb91d7f090a2ec967417 (diff) | |
download | llvm-e9989bd4dfccc35fd456b63f043e5efc5dfea693.zip llvm-e9989bd4dfccc35fd456b63f043e5efc5dfea693.tar.gz llvm-e9989bd4dfccc35fd456b63f043e5efc5dfea693.tar.bz2 |
[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.)
llvm-svn: 176969
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions