[PATCH] D141133: [clang-tidy] Implement CppCoreGuideline F.54
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 6 07:07:18 PST 2023
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:115
+ Warns when lambda specify a capture default and capture ``this``. The check also
+ offers FixIts.
+
----------------
`fix-it`.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-capture-this-with-capture-default.rst:6
+
+Default lambda captures in member functions can be misleading about
+whether data members are captured by value or reference. For example,
----------------
Please make first statement same as in Release Notes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141133/new/
https://reviews.llvm.org/D141133
More information about the cfe-commits
mailing list