aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-12 20:11:21 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-12 20:11:21 +0000
commitabe1bb763e3a7ce197f310afbff6112eb605136f (patch)
tree4e0f78e3e6ddb7c912ff64a2b1ef7ebbd97792d6 /llvm/lib/Object/MachOObjectFile.cpp
parent5d1e3ed3e257535fbd51706023685d2c2d9eba51 (diff)
downloadllvm-abe1bb763e3a7ce197f310afbff6112eb605136f.zip
llvm-abe1bb763e3a7ce197f310afbff6112eb605136f.tar.gz
llvm-abe1bb763e3a7ce197f310afbff6112eb605136f.tar.bz2
[clang] MicrosoftCXXNameMangler::mangleObjCKindOfType - use castAs<> instead of getAs<> to avoid dereference of nullptr
The pointer is referenced in the mangleType call, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions