diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-10-18 20:51:18 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-10-18 20:51:18 +0000 |
commit | 43d3a7ae013bd4ba8883875978cc29cf3f38edc1 (patch) | |
tree | 9c9d0c352e38051cb13b497db443fd93b3c4d37a | |
parent | 4b81fc87ad0d952bea640f3f39233a75cc73d8cb (diff) | |
download | bcm5719-llvm-43d3a7ae013bd4ba8883875978cc29cf3f38edc1.tar.gz bcm5719-llvm-43d3a7ae013bd4ba8883875978cc29cf3f38edc1.zip |
Silence -Wreturn-type with gcc 5.2
The switch is fully covered, mark "default" as unreachable. NFC.
llvm-svn: 250667
-rw-r--r-- | lldb/source/DataFormatters/StringPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/StringPrinter.cpp b/lldb/source/DataFormatters/StringPrinter.cpp index a63a1fe9221..9bf2a03658d 100644 --- a/lldb/source/DataFormatters/StringPrinter.cpp +++ b/lldb/source/DataFormatters/StringPrinter.cpp @@ -258,6 +258,7 @@ StringPrinter::GetDefaultEscapingHelper (GetPrintableElementType elem_type) 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 |