[all-commits] [llvm/llvm-project] c525e2: [clang-doc] remove default label on some switches

Erick Velez via All-commits all-commits at lists.llvm.org
Thu Jun 12 08:43:14 PDT 2025


  Branch: refs/heads/users/evelez7/clang-doc-remove-default-label
  Home:   https://github.com/llvm/llvm-project
  Commit: c525e2d8707e953d3e4892bd796d6579c1d906fe
      https://github.com/llvm/llvm-project/commit/c525e2d8707e953d3e4892bd796d6579c1d906fe
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/BitcodeReader.cpp
    M clang-tools-extra/clang-doc/BitcodeWriter.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Serialize.cpp
    M clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp

  Log Message:
  -----------
  [clang-doc] remove default label on some switches

LLVM style prefers no default label on fully covered switches to warn if
new enums are added. This patch removes the default label for that
purpose or uses IT_default instead of default if that was the only enum
not covered.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list