aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-03-14 22:31:56 +0000
committerAnna Zaks <ganna@apple.com>2013-03-14 22:31:56 +0000
commita4bb4f6ca8dd31ad96cb9526a5abe1273f18ff40 (patch)
treea281e24722f20a618fa3ccc7d14e1b2cfb559f0c /lib/Sema/SemaCodeComplete.cpp
parentbea407c92780ded6ef9aabc9d8ebbe60d233f381 (diff)
[analyzer] Change the way in which IDC Visitor decides to kick in and make sure it attaches in the given edge case
In the test case below, the value V is not constrained to 0 in ErrorNode but it is in node N. So we used to fail to register the Suppression visitor. We also need to change the way we determine that the Visitor should kick in because the node N belongs to the ExplodedGraph and might not be on the BugReporter path that the visitor sees. Instead of trying to match the node, turn on the visitor when we see the last node in which the symbol is ‘0’. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions