[PATCH] D110954: [clangd] Improve PopulateSwitch tweak

David Goldman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 1 11:49:11 PDT 2021


dgoldman created this revision.
dgoldman added a reviewer: sammccall.
Herald added subscribers: usaxena95, kadircet, arphaman.
dgoldman requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

- Support enums in C and ObjC as their AST representations differ slightly.

- Add support for typedef'ed enums.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110954

Files:
  clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
  clang-tools-extra/clangd/unittests/tweaks/PopulateSwitchTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110954.376591.patch
Type: text/x-patch
Size: 4491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211001/7f0753a3/attachment.bin>


More information about the cfe-commits mailing list