Silence -Wreturn-type warning
authorAlp Toker <alp@nuanti.com>
Mon, 2 Jun 2014 04:34:10 +0000 (04:34 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 2 Jun 2014 04:34:10 +0000 (04:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210005 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/GraphWriter.cpp

index c26f6a141ec1a9ee49bb19c8e3be60aa2c14da02..1521475a8b8613456e0d0627c8bf4704e1130035 100644 (file)
@@ -127,6 +127,7 @@ static const char *getProgramName(GraphProgram::Name program) {
   case GraphProgram::CIRCO:
     return "circo";
   }
+  llvm_unreachable("bad kind");
 }
 
 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait,