summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finish-swig-Python-LLDB.sh
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-03-07 01:23:25 +0000
committerJordan Rose <jordan_rose@apple.com>2013-03-07 01:23:25 +0000
commitb41977f85254c4f8512200e5006fa56d55316d52 (patch)
tree5fdf5358f3421cde3ebc2ca578a33b3b3ced1f90 /lldb/scripts/Python/finish-swig-Python-LLDB.sh
parent6f09928d5bb71f91b85a95388766bbee7c0754ea (diff)
downloadbcm5719-llvm-b41977f85254c4f8512200e5006fa56d55316d52.tar.gz
bcm5719-llvm-b41977f85254c4f8512200e5006fa56d55316d52.zip
[analyzer] Check for returning null references in ReturnUndefChecker.
Officially in the C++ standard, a null reference cannot exist. However, it's still very easy to create one: int &getNullRef() { int *p = 0; return *p; } We already check that binds to reference regions don't create null references. This patch checks that we don't create null references by returning, either. <rdar://problem/13364378> llvm-svn: 176601
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud