[all-commits] [llvm/llvm-project] 860084: [Polly] Avoid compiler warning. NFC.

Michael Kruse via All-commits all-commits at lists.llvm.org
Fri May 21 22:23:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86008477a4eb9ecac27f469539c4ac5e0fce44dc
      https://github.com/llvm/llvm-project/commit/86008477a4eb9ecac27f469539c4ac5e0fce44dc
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-05-22 (Sat, 22 May 2021)

  Changed paths:
    M polly/lib/Support/RegisterPasses.cpp

  Log Message:
  -----------
  [Polly] Avoid compiler warning. NFC.

Avoid the warning

    /polly/lib/Support/RegisterPasses.cpp:833:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
      default:
      ^

since all cases are now handled.

Thanks to Luke Benes for reporting.




More information about the All-commits mailing list