diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-08-23 20:46:57 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-08-23 20:46:57 +0000 |
commit | 2883175e4cdf6e86d967433df0284f376fab7579 (patch) | |
tree | e04e4cdf9aa34f2b3fe43ce5fe033ec747d5081b /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | |
parent | 8ccba980e6b5b97427319d1ea95008e55935e43d (diff) | |
download | bcm5719-llvm-2883175e4cdf6e86d967433df0284f376fab7579.tar.gz bcm5719-llvm-2883175e4cdf6e86d967433df0284f376fab7579.zip |
Change a bunch of cases where we do "getAs<...>->doSomething()" to
"castAs<...>->doSomething()". The analyzer was flagging these
as potential null dereferences, which is technically true. The
invariants appear to be that these casts should never fail, so
let's use castAs<> instead and avoid a runtime check.
llvm-svn: 162468
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
0 files changed, 0 insertions, 0 deletions