[all-commits] [llvm/llvm-project] 19aa4c: [NFC] Fix implicit-fallthrough warnings (#112825)

Jinsong Ji via All-commits all-commits at lists.llvm.org
Fri Oct 18 02:43:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19aa4c854a34a53ef9fa04bcbbc93761239a7234
      https://github.com/llvm/llvm-project/commit/19aa4c854a34a53ef9fa04bcbbc93761239a7234
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M clang/lib/Sema/SemaFunctionEffects.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp

  Log Message:
  -----------
  [NFC] Fix implicit-fallthrough warnings (#112825)

This is one of the many PRs to fix errors with LLVM_ENABLE_WERROR=on.
Built by GCC 11.

Fix warnings:

clang/lib/Sema/SemaFunctionEffects.cpp:1531:5: error: this statement may
fall through [-Werror=implicit-fallthrough=]
 1531 |     switch (DiffKind) {
      |     ^~~~~~



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