[PATCH] D94640: adds more checks to -Wfree-nonheap-object

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 12 11:19:51 PST 2021


cjdb updated this revision to Diff 323414.
cjdb added a comment.

fixes block expressions

@aaron.ballman I'm not sure I follow what you're after re lambdas. Could you please provide a test case that I can work with?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94640/new/

https://reviews.llvm.org/D94640

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Analysis/free.c
  clang/test/Analysis/free.cpp
  clang/test/Analysis/weak-functions.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94640.323414.patch
Type: text/x-patch
Size: 15190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210212/2568e3a6/attachment-0001.bin>


More information about the cfe-commits mailing list