Skip to content
Commit 2883175e authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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
parent 8ccba980
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment