[all-commits] [llvm/llvm-project] 6d140b: [Fix][-Wunsafe-buffer-usage] Add a new `forEachDes...
Ziqing Luo via All-commits
all-commits at lists.llvm.org
Fri Jan 6 12:33:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d140b952805bd9277fba666520ce46c19f2c637
https://github.com/llvm/llvm-project/commit/6d140b952805bd9277fba666520ce46c19f2c637
Author: ziqingluo-90 <ziqing at udel.edu>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
Log Message:
-----------
[Fix][-Wunsafe-buffer-usage] Add a new `forEachDescendant` matcher that skips callable declarations
The original patch does include a `new` statement without a matching
`delete`, causing Sanitizer warnings in
https://lab.llvm.org/buildbot/#/builders/5/builds/30522/steps/13/logs/stdio.
This commit is a fix to it.
Differential Revision: https://reviews.llvm.org/D138329
More information about the All-commits
mailing list