diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-24 16:55:26 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-11-25 11:38:29 +0000 |
commit | eb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f (patch) | |
tree | 80d50d628cbadda3e03ee5da000eec07344303bd /clang/lib/CodeGen/TargetInfo.cpp | |
parent | 6d56823116820962984cdd535cbed1191be696c9 (diff) | |
download | llvm-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