[all-commits] [llvm/llvm-project] 297242: [InstCombine] Fix -Wimplicit-fallthrough in InstCo...

Jie Fu via All-commits all-commits at lists.llvm.org
Fri Mar 31 07:54:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 297242a2bb89089397ee0cc0701c5555194af293
      https://github.com/llvm/llvm-project/commit/297242a2bb89089397ee0cc0701c5555194af293
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

  Log Message:
  -----------
  [InstCombine] Fix -Wimplicit-fallthrough in InstCombinerImpl::visitCallInst (NFC)

/data/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:3078:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
  default:
  ^
/data/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:3078:3: note: insert 'break;' to avoid fall-through
  default:
  ^
  break;
1 error generated.




More information about the All-commits mailing list