Silence -Wreturn-type with gcc 5.2
The switch is fully covered, mark "default" as unreachable. NFC.
llvm-svn: 250667
diff --git a/lldb/source/DataFormatters/StringPrinter.cpp b/lldb/source/DataFormatters/StringPrinter.cpp
index a63a1fe..9bf2a03 100644
--- a/lldb/source/DataFormatters/StringPrinter.cpp
+++ b/lldb/source/DataFormatters/StringPrinter.cpp
@@ -258,6 +258,7 @@
return GetPrintable(StringPrinter::StringElementType::ASCII, buffer, buffer_end, next);
};
}
+ llvm_unreachable("bad element type");
}
// use this call if you already have an LLDB-side buffer for the data