[PATCH] D82629: [libclang] Fix crash when visiting a captured VLA.
Christian Kandeler via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 01:01:52 PDT 2020
ckandeler added a comment.
I suppose it boils down to whether the visit() function is supposed to except null arguments or not. Since I don't know the answer to that, I added the check at the caller. From the description of the linked patch, it appears that other places are also calling the function with a null pointer, but that could just mean that these should be fixed independently. Someone with better knowledge of the code would have to make that decision.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82629/new/
https://reviews.llvm.org/D82629
More information about the cfe-commits
mailing list