Revert "[-Wunsafe-buffer-usage] Fix-Its transforming `&DRE[any]` to `&DRE.data()...
authorDavid Spickett <david.spickett@linaro.org>
Wed, 5 Apr 2023 08:05:29 +0000 (08:05 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Wed, 5 Apr 2023 08:07:19 +0000 (08:07 +0000)
commitd5c428356f6ee107a97977eb9ef1aa4d5fa0c378
tree7fec6f326425382815c83e141d4936d54bb8ccfb
parent32983aa0f1c503ff531a70392b2cb40f6eb82037
Revert "[-Wunsafe-buffer-usage] Fix-Its transforming `&DRE[any]` to `&DRE.data()[any]`"

This reverts commit 87b5807d3802b932c06d83c4287014872aa2caab.

The test case is failing on Windows https://lab.llvm.org/buildbot/#/builders/65/builds/8950.
clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
clang/lib/Analysis/UnsafeBufferUsage.cpp
clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-addressof-arraysubscript.cpp [deleted file]