Skip to content
Unverified Commit 414df705 authored by Malavika Samak's avatar Malavika Samak Committed by GitHub
Browse files

[-Wunsafe-buffer-usage] Fix the crash introduced by the unsafe invocation of...


[-Wunsafe-buffer-usage] Fix the crash introduced by the unsafe invocation of span::data warning (#78815)

The patch fixes the crash introduced by the DataInvocation warning
gadget designed to warn against unsafe invocations of span::data method.

It also now considers the invocation of span::data method inside
parenthesis.

Radar: 121223051

---------

Co-authored-by: default avatarMalavikaSamak <malavika2@apple.com>
parent 0cea54a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment