From dcc336bf8e16ae96a9283d69ce29ec90aeee6274 Mon Sep 17 00:00:00 2001 From: Patrik Hagglund Date: Fri, 28 Jun 2013 06:54:05 +0000 Subject: Suppress GCC "control reaches end of non-void function" warning. llvm-svn: 185136 --- llvm/lib/Support/Unix/Path.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support/Unix') diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 8a94b935993..1cbdbf5429b 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -178,6 +178,7 @@ retry_random_path: return error_code::success(); } } + llvm_unreachable("Invalid Type"); } namespace llvm { -- cgit v1.2.3