From 363720e06c4a61a6695e2b2b8f1dfdd597e52b95 Mon Sep 17 00:00:00 2001 From: Patrik Hagglund Date: Fri, 28 Jun 2013 06:54:05 +0000 Subject: [PATCH] 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 --- lib/Support/Unix/Path.inc | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.34.1