[PATCH] D157285: [clang-tidy] Add support for lambdas in cppcoreguidelines-owning-memory

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 07:27:13 PDT 2023


PiotrZSL created this revision.
PiotrZSL added reviewers: carlosgalvezp, njames93, ccotter.
Herald added subscribers: shchenz, kbarton, xazax.hun, nemanjai.
Herald added a project: All.
PiotrZSL requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Implement proper support for lambdas and sub-functions/classes.

Fixes: #59389


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157285

Files:
  clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/owning-memory.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157285.547780.patch
Type: text/x-patch
Size: 9534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230807/1269835a/attachment.bin>


More information about the cfe-commits mailing list