[PATCH] D139148: Fix nullptr dereference found by Coverity static analysis tool
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 1 17:16:17 PST 2022
shafik added a comment.
This looks like the correct thing to do but I see further down there are also unconditional uses of `Initializer` that should also be guarded with a check. It would be good to fix those as well since we are here.
I am guessing the answer is no since this was found using a static analysis tool but do you have a test case that triggers this failure?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139148/new/
https://reviews.llvm.org/D139148
More information about the cfe-commits
mailing list