[all-commits] [llvm/llvm-project] 2d0b29: [clang] Fix covered default in switch

jsji via All-commits all-commits at lists.llvm.org
Mon Jan 27 11:28:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d0b29e0de5b2fd7cc05e8a341db3bf460e18d46
      https://github.com/llvm/llvm-project/commit/2d0b29e0de5b2fd7cc05e8a341db3bf460e18d46
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp

  Log Message:
  -----------
  [clang] Fix covered default in switch

clang/lib/Format/TokenAnnotator.cpp:3162:7:
error: default label in switch which covers all enumeration values
[-Werror,-Wcovered-switch-default]
      default:
      ^
1 error generated.




More information about the All-commits mailing list