aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-24 16:55:26 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-25 11:38:29 +0000
commiteb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f (patch)
tree80d50d628cbadda3e03ee5da000eec07344303bd /clang/lib/CodeGen/TargetInfo.cpp
parent6d56823116820962984cdd535cbed1191be696c9 (diff)
downloadllvm-eb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f.zip
llvm-eb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f.tar.gz
llvm-eb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f.tar.bz2
CGCall.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 in the setUsedBits call.
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions