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

Erick Velez via All-commits all-commits at lists.llvm.org
Fri Jun 13 16:35:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f69cd578de899f8b00525a02d1fe25dab567bcf
      https://github.com/llvm/llvm-project/commit/7f69cd578de899f8b00525a02d1fe25dab567bcf
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2025-06-13 (Fri, 13 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 (#143919)

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