[clang] [llvm] [NFC] Fix implicit-fallthrough warnings (PR #112825)

2024-10-17 Thread via cfe-commits
https://github.com/Sirraide approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/112825 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [NFC] Fix implicit-fallthrough warnings (PR #112825)

2024-10-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-nvptx @llvm/pr-subscribers-clang Author: Jinsong Ji (jsji) Changes 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 fa

[clang] [llvm] [NFC] Fix implicit-fallthrough warnings (PR #112825)

2024-10-17 Thread Jinsong Ji via cfe-commits
https://github.com/jsji created https://github.com/llvm/llvm-project/pull/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-fallthr