]> granicus.if.org Git - clang/commit
[analyzer] Look through casts when trying to track a null pointer dereference.
authorJordan Rose <jordan_rose@apple.com>
Mon, 27 Aug 2012 20:18:30 +0000 (20:18 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 27 Aug 2012 20:18:30 +0000 (20:18 +0000)
commit364b9f95fa47b0ca7f1cc694195f7a9953652f81
tree3a01b3311278caadb4bed86c8d2befe92d0214ff
parent9a209f1f5dc9f6f6d1c3bd4a9cd4c6adc7ff255a
[analyzer] Look through casts when trying to track a null pointer dereference.

Also, add comments to addTrackNullOrUndefValueVisitor.

Thanks for the review, Anna!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162695 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
test/Analysis/inlining/path-notes.c