[all-commits] [llvm/llvm-project] caf007: [Sema] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jun 5 13:00:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caf00725923cb89af9b9478c53496e9f81ee4d6d
      https://github.com/llvm/llvm-project/commit/caf00725923cb89af9b9478c53496e9f81ee4d6d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp

  Log Message:
  -----------
  [Sema] Fix a warning

This patch fixes:

  clang/lib/Sema/SemaExprCXX.cpp:5591:3: error: default label in
  switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]




More information about the All-commits mailing list