[all-commits] [llvm/llvm-project] 52f739: [ProfileData] Actually fix Clang -Wcovered-switch-...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 8 00:16:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52f739c4ae02f0ac6f6cea866fcc7c78eed82e39
      https://github.com/llvm/llvm-project/commit/52f739c4ae02f0ac6f6cea866fcc7c78eed82e39
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProf.h

  Log Message:
  -----------
  [ProfileData] Actually fix Clang -Wcovered-switch-default after D109398

The Clang attribute `enum_extensibility(open)` (2017) is too new.
Just use a cast.




More information about the All-commits mailing list