From: Patrik Hagglund Date: Fri, 28 Jun 2013 06:54:05 +0000 (+0000) Subject: Suppress GCC "control reaches end of non-void function" warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=363720e06c4a61a6695e2b2b8f1dfdd597e52b95;p=oota-llvm.git Suppress GCC "control reaches end of non-void function" warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185136 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index 8a94b935993..1cbdbf5429b 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -178,6 +178,7 @@ retry_random_path: return error_code::success(); } } + llvm_unreachable("Invalid Type"); } namespace llvm {