[PATCH] D146342: [-Wunsafe-buffer-usage] Move the whole analysis to the end of a translation unit
Ziqing Luo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 10 17:31:03 PDT 2023
ziqingluo-90 updated this revision to Diff 521176.
ziqingluo-90 added a comment.
Clean up the code for early return in case of ignoring `unsafe_buffer_usage` warnings.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146342/new/
https://reviews.llvm.org/D146342
Files:
clang/include/clang/Sema/AnalysisBasedWarnings.h
clang/lib/Sema/AnalysisBasedWarnings.cpp
clang/lib/Sema/Sema.cpp
clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146342.521176.patch
Type: text/x-patch
Size: 7886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230511/9a47fae2/attachment.bin>
More information about the cfe-commits
mailing list