[PATCH] D146342: [-Wunsafe-buffer-usage] Move the whole analysis to the end of a translation unit
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 11 15:42:50 PDT 2023
NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
Ok looks great to me now!
================
Comment at: clang/lib/Sema/AnalysisBasedWarnings.cpp:2364
+ Node->getBeginLoc())) {
+ UnsafeBufferUsageReporter R(S);
+ clang::checkUnsafeBufferUsage(Node, R, UnsafeBufferEmitFixits);
----------------
So WDYT about capturing the reporter from outside lambda instead?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146342/new/
https://reviews.llvm.org/D146342
More information about the cfe-commits
mailing list