An almost forgotten patch by @t-rasmud! 😅
Diff Detail
Event Timeline
clang/lib/Analysis/UnsafeBufferUsage.cpp | ||
---|---|---|
331 | Should this gadget receive the same treatment? |
clang/lib/Analysis/UnsafeBufferUsage.cpp | ||
---|---|---|
331 | I am sorry, I jumped the gun - the other gadget seems fine. |
clang/lib/Analysis/UnsafeBufferUsage.cpp | ||
---|---|---|
331 | Yeah I think you're right, this gadget doesn't care about variable type, and the implicit array-to-pointer decay takes care of the expression type for us. Let's add a test for this anyway, just to acknowledge that this works, and then I think the patch is good to go! |
Should this gadget receive the same treatment?