[PATCH] D152194: [NFC][CLANG] Fix nullptr dereference issue found by static analyzer tool
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 6 06:48:38 PDT 2023
steakhal requested changes to this revision.
steakhal added a comment.
This revision now requires changes to proceed.
I agree with @erichkeane.
However, I can also see that the code could be improved.
I don't understand why we have that variable hoisted from the guarded block in the first place.
We could directly use `ReceiverType->castAs<ObjCObjectPointerType>()` instead of `ReceiverObjectPtrType`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152194/new/
https://reviews.llvm.org/D152194
More information about the cfe-commits
mailing list