[PATCH] D90555: [clangd] Handle duplicate enum constants in PopulateSwitch tweak

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 11:06:45 PST 2020


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

Addressed comments.
Now using a MapVector to collect all uncovered cases in prepare, then just loop over that in apply.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90555

Files:
  clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
  clang-tools-extra/clangd/unittests/TweakTests.cpp
  llvm/include/llvm/ADT/DenseMapInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90555.303502.patch
Type: text/x-patch
Size: 7290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201106/fc9fa939/attachment.bin>


More information about the cfe-commits mailing list