[all-commits] [llvm/llvm-project] 864168: Revert "Revert "[-Wunsafe-buffer-usage] Add a new ...
Ziqing Luo via All-commits
all-commits at lists.llvm.org
Thu Jan 5 12:04:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8641687a4300ef3e9ef43eda46f6d2ea4e021dd9
https://github.com/llvm/llvm-project/commit/8641687a4300ef3e9ef43eda46f6d2ea4e021dd9
Author: ziqingluo-90 <ziqing at udel.edu>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp
Log Message:
-----------
Revert "Revert "[-Wunsafe-buffer-usage] Add a new `forEachDescendant` matcher that skips callable declarations""
This reverts commit f58b025354ee2d3bcd7ab2399a11429ec940c1e0.
The previous revert reverts a patch that causes compilation problem on
windows which can be reproduced using `-fdelayed-template-parsing`.
I'm now to revert the patch back and commit a fix next.
Commit: ef47a0a711f12add401394f7af07a0b4d1635b56
https://github.com/llvm/llvm-project/commit/ef47a0a711f12add401394f7af07a0b4d1635b56
Author: ziqingluo-90 <ziqing at udel.edu>
Date: 2023-01-05 (Thu, 05 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 in commit b2ac5fd724c44cf662caed84bd8f84af574b981d
causes compilation errors which can be reproduced by the
`-fdelayed-template-parsing` flag. This commit fixes the problem.
Related differential revision: https://reviews.llvm.org/D138329
Compare: https://github.com/llvm/llvm-project/compare/b67c16ff6af5...ef47a0a711f1
More information about the All-commits
mailing list