[all-commits] [llvm/llvm-project] 7e84aa: Fix MSVC "not all control paths return a value" wa...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Dec 20 03:33:04 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e84aa1b81e72d44bcc58ffe1731bfc7abb73ce0
      https://github.com/llvm/llvm-project/commit/7e84aa1b81e72d44bcc58ffe1731bfc7abb73ce0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-20 (Sun, 20 Dec 2020)

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

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warnings. NFCI.

Add missing llvm_unreachable()'s after each all-enums switch statement.




More information about the All-commits mailing list