[all-commits] [llvm/llvm-project] c5c3cd: [clangd] Populate-switch triggers when the whole c...

Sam McCall via All-commits all-commits at lists.llvm.org
Sun Aug 8 12:06:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5c3cdb9c92895a63993cee70d2dd776ff9519c3
      https://github.com/llvm/llvm-project/commit/c5c3cdb9c92895a63993cee70d2dd776ff9519c3
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-08-08 (Sun, 08 Aug 2021)

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

  Log Message:
  -----------
  [clangd] Populate-switch triggers when the whole condition is selected.

This allows vscode to find it as a diagnostic quickfix for -Wswitch.

While here, group the code into chunks and add a couple more comments.




More information about the All-commits mailing list