ziqingluo-90 marked an inline comment as done. ziqingluo-90 added inline comments.
================ Comment at: clang/lib/Sema/AnalysisBasedWarnings.cpp:2364 + Node->getBeginLoc())) { + UnsafeBufferUsageReporter R(S); + clang::checkUnsafeBufferUsage(Node, R, UnsafeBufferEmitFixits); ---------------- NoQ wrote: > So WDYT about capturing the reporter from outside lambda instead? The Reporter is stateless so we definitely can let analyses of functions share it. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D146342/new/ https://reviews.llvm.org/D146342 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits