[all-commits] [llvm/llvm-project] a90d57: [clangd] Improve PopulateSwitch tweak

David Goldman via All-commits all-commits at lists.llvm.org
Mon Oct 4 07:16:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a90d57b6cc5f1237199fa6974eeb1cb168a7aed3
      https://github.com/llvm/llvm-project/commit/a90d57b6cc5f1237199fa6974eeb1cb168a7aed3
  Author: David Goldman <davg at google.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
    M clang-tools-extra/clangd/unittests/tweaks/PopulateSwitchTests.cpp

  Log Message:
  -----------
  [clangd] Improve PopulateSwitch tweak

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

- Add support for typedef'ed enums.

Differential Revision: https://reviews.llvm.org/D110954




More information about the All-commits mailing list