[PATCH] D141757: [clangd] allow extracting to variable for lambda expressions

Julian Schmidt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 10:02:12 PDT 2023


5chmidti updated this revision to Diff 552065.
5chmidti added a comment.

Addressed comments:

- added explicit template parameters, trailing return-type declarations and attributes to the visitor that finds DeclRefExprs
- added a few more comments about why an extraction is expected to be unavailable


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

https://reviews.llvm.org/D141757

Files:
  clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
  clang-tools-extra/clangd/unittests/tweaks/ExtractVariableTests.cpp
  clang-tools-extra/docs/ReleaseNotes.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141757.552065.patch
Type: text/x-patch
Size: 15827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230821/ccc66b83/attachment-0001.bin>


More information about the cfe-commits mailing list