[all-commits] [llvm/llvm-project] 57ac47: [clangd] Make PopulateSwitch a fix.

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Oct 2 04:24:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ac47d78885c9a3d712692b1476d99840591db1
      https://github.com/llvm/llvm-project/commit/57ac47d78885c9a3d712692b1476d99840591db1
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

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

  Log Message:
  -----------
  [clangd] Make PopulateSwitch a fix.

It fixes the -Wswitch warning, though we mark it as a fix even if that is off.
This makes it the "recommended" action on an incomplete switch, which seems OK.

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




More information about the All-commits mailing list