[all-commits] [llvm/llvm-project] 042eb0: [llvm-objdump] Add llvm_unreachable to silence GCC...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Mar 16 04:35:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 042eb0482aa758057c4f77616a4696cdb21b4fcc
      https://github.com/llvm/llvm-project/commit/042eb0482aa758057c4f77616a4696cdb21b4fcc
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] Add llvm_unreachable to silence GCC warning. NFC.

GCC 7 warned about control reaching the end of the non-void function,
despite all 7 LineChar values being handled in the switch.




More information about the All-commits mailing list