[all-commits] [llvm/llvm-project] 50d4a1: [-Wunsafe-buffer-usage] Safe-buffers re-architectu...
Malavika Samak via All-commits
all-commits at lists.llvm.org
Fri Jan 6 11:45:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50d4a1f70e111cd41b1a94d95fd06b5691aa2643
https://github.com/llvm/llvm-project/commit/50d4a1f70e111cd41b1a94d95fd06b5691aa2643
Author: MalavikaSamak <malavika2 at apple.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
M clang/lib/Analysis/UnsafeBufferUsage.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Safe-buffers re-architecture to introduce Fixable gadgets
Re-architecture of safe-buffers gadgets to re-classify them as warning and fixable
gadgets. The warning gadgets identify unsafe operations on buffer variables and
emit suitable warnings. While the fixable gadgets consider all operations on
variables identified by the warning gadgets and emit necessary fixits.
Differential Revision: https://reviews.llvm.org/D140062?id=486625
More information about the All-commits
mailing list