[all-commits] [llvm/llvm-project] eaa4eb: [CIR] Fix warning in CIRGenAction.cpp (#118389)

David Olsen via All-commits all-commits at lists.llvm.org
Mon Dec 2 13:19:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaa4eb281d4a0e34c7b4c2dac50cd151c3cb27e6
      https://github.com/llvm/llvm-project/commit/eaa4eb281d4a0e34c7b4c2dac50cd151c3cb27e6
  Author: David Olsen <dolsen at nvidia.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M clang/lib/CIR/FrontendAction/CIRGenAction.cpp

  Log Message:
  -----------
  [CIR] Fix warning in CIRGenAction.cpp (#118389)

Fix a compiler warning in `CIRGenConsumer::HandleTranslationUnit` in
`clang/lib/CIR/FrontendAction/CIRGenAction.cpp`. The warning was about a
`default:` section in a switch statement that already covered all the
values of an enum. Delete the `default:` section.



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