[all-commits] [llvm/llvm-project] ca6cee: Reland "[-Wunsafe-buffer-usage] Fix-Its transformi...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Wed Apr 5 14:54:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca6ceeb0d6cd5b8545410d878c8d7bcce9538a3a
      https://github.com/llvm/llvm-project/commit/ca6ceeb0d6cd5b8545410d878c8d7bcce9538a3a
  Author: Ziqing Luo <ziqing at udel.edu>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
    M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-addressof-arraysubscript.cpp

  Log Message:
  -----------
  Reland "[-Wunsafe-buffer-usage] Fix-Its transforming `&DRE[any]` to `&DRE.data()[any]`"

This commit relands 87b5807d3802b932c06d83c4287014872aa2caab, where a
test fails on a few specific targets.  Now hard-code a target
for the test.




More information about the All-commits mailing list