[all-commits] [llvm/llvm-project] 9168fc: [flang] Fix -Wcovered-switch-default in resolve-di...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Sep 7 16:55:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9168fcacd8b3e3e4f17b12d4ea37dd7038c53640
      https://github.com/llvm/llvm-project/commit/9168fcacd8b3e3e4f17b12d4ea37dd7038c53640
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp

  Log Message:
  -----------
  [flang] Fix -Wcovered-switch-default in resolve-directives.cpp (NFC)

/data/llvm-project/flang/lib/Semantics/resolve-directives.cpp:555:7: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
      default:
      ^
1 error generated.




More information about the All-commits mailing list