aboutsummaryrefslogtreecommitdiff
path: root/lib/Index/DeclReferenceMap.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-03-11 21:31:46 +0000
committerJordan Rose <jordan_rose@apple.com>2013-03-11 21:31:46 +0000
commit77b72231a0316509cc939b052be35fafce606567 (patch)
tree8292387c3649a156dbe64037bc42f44f085b272e /lib/Index/DeclReferenceMap.cpp
parentebf0f43f07e2fdc0e35554afb38f41c8be314b02 (diff)
[analyzer] Look for calls along with lvalue nodes in trackNullOrUndefValue.
r176737 fixed bugreporter::trackNullOrUndefValue to find nodes for an lvalue even if the rvalue node had already been collected. This commit extends that to call statement nodes as well, so that if a call is contained within implicit casts we can still track the return value. No test case because node reclamation is extremely finicky (dependent on how the AST and CFG are built, and then on our current reclamation rules, and /then/ on how many nodes were generated by the analyzer core and the current set of checkers). I consider this a low-risk change, though, and it will only happen in cases of reclamation when the rvalue node isn't available. <rdar://problem/13340764> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/DeclReferenceMap.cpp')
0 files changed, 0 insertions, 0 deletions