aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-03-13 20:20:14 +0000
committerAnna Zaks <ganna@apple.com>2013-03-13 20:20:14 +0000
commite9989bd4dfccc35fd456b63f043e5efc5dfea693 (patch)
treec428bb2571ca18cdab94bfb55891bf41f734368d /clang/lib/Lex/ModuleMap.cpp
parent795c7b455cc36b2f70e8fb91d7f090a2ec967417 (diff)
downloadllvm-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