diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-24 16:51:55 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-25 11:38:29 +0000 |
| commit | 6d56823116820962984cdd535cbed1191be696c9 (patch) | |
| tree | de70d04cae628bf8db20897febb3601fd6bbb766 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 7e7106d10425369e61a1cbe5b131b7aad57f700f (diff) | |
SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI.
castAs<> will assert the correct cast type instead of just returning null, which we then try to dereference immediately.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
