Silence -Wreturn-type warning
[oota-llvm.git] / 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,