[PATCH] D96975: [Sema] Add some basic lambda capture fix-its

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 18 12:43:36 PST 2021


njames93 updated this revision to Diff 324741.
njames93 added a comment.

Remove default capture by value fixit if 'this' is explicitly captured pre c++20.
Fix default capture insertion loc to be at the start of the capture list.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96975

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaExprCXX.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96975.324741.patch
Type: text/x-patch
Size: 5746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210218/ca3e97c9/attachment.bin>


More information about the cfe-commits mailing list