[all-commits] [llvm/llvm-project] f25233: [-Wunsafe-buffer-usage][NFC] Fix Fixables filtering

jkorous-apple via All-commits all-commits at lists.llvm.org
Wed Jan 18 18:55:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f252333b978c6b5a04d1cea3d92de16490969ff5
      https://github.com/llvm/llvm-project/commit/f252333b978c6b5a04d1cea3d92de16490969ff5
  Author: Jan Korous <jkorous at apple.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M clang/lib/Analysis/UnsafeBufferUsage.cpp

  Log Message:
  -----------
  [-Wunsafe-buffer-usage][NFC] Fix Fixables filtering

We have WIP Fixables for local variables and this central part of the machinery
was dropping Fixables attached to local variables instead of keeping those and
dropping everything else.
We are in the process of rewriting our patches for emitting fixits after we
discovered a conceptual problem in our design.
That is why there's currently no tests that would've detected the issue but
that will change very shortly.




More information about the All-commits mailing list