]> granicus.if.org Git - clang/commit
Insert llvm_unreachable at the end of a function to silence gcc's
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 29 Jun 2017 20:44:20 +0000 (20:44 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 29 Jun 2017 20:44:20 +0000 (20:44 +0000)
commit158a1fe17bb242d8c0555c81de2eb226ad62c9da
tree54175de80970e70ffe1d7611d5136fd7a834698c
parent78aa30a644eaec1893db971c86ee10b3c0fe6781
Insert llvm_unreachable at the end of a function to silence gcc's
-Werror=return-type error.

This is an attempt to fix the following failing bot:

http://lab.llvm.org:8011/builders/ubuntu-gcc7.1-werror

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306739 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Darwin.cpp