[all-commits] [llvm/llvm-project] ec7123: Fix clang -Wcovered-switch-default after llvmorg-1...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Dec 9 11:32:28 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ec71238916dec90c2ef9435af5979a345a447575
      https://github.com/llvm/llvm-project/commit/ec71238916dec90c2ef9435af5979a345a447575
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp

  Log Message:
  -----------
  Fix clang -Wcovered-switch-default after llvmorg-10-init-11484-g6626e5a06a9

We need to place llvm_unreachable after switch to work around the GCC
warning.




More information about the All-commits mailing list