summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-24 16:51:55 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-25 11:38:29 +0000
commit6d56823116820962984cdd535cbed1191be696c9 (patch)
treede70d04cae628bf8db20897febb3601fd6bbb766 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7e7106d10425369e61a1cbe5b131b7aad57f700f (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