[llvm] r185136 - Suppress GCC "control reaches end of non-void function" warning.
Patrik Hagglund
patrik.h.hagglund at ericsson.com
Thu Jun 27 23:54:05 PDT 2013
Author: patha
Date: Fri Jun 28 01:54:05 2013
New Revision: 185136
URL: http://llvm.org/viewvc/llvm-project?rev=185136&view=rev
Log:
Suppress GCC "control reaches end of non-void function" warning.
Modified:
llvm/trunk/lib/Support/Unix/Path.inc
Modified: llvm/trunk/lib/Support/Unix/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Path.inc?rev=185136&r1=185135&r2=185136&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Path.inc (original)
+++ llvm/trunk/lib/Support/Unix/Path.inc Fri Jun 28 01:54:05 2013
@@ -178,6 +178,7 @@ retry_random_path:
return error_code::success();
}
}
+ llvm_unreachable("Invalid Type");
}
namespace llvm {
More information about the llvm-commits
mailing list