summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-10-18 20:51:18 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-10-18 20:51:18 +0000
commit43d3a7ae013bd4ba8883875978cc29cf3f38edc1 (patch)
tree9c9d0c352e38051cb13b497db443fd93b3c4d37a
parent4b81fc87ad0d952bea640f3f39233a75cc73d8cb (diff)
downloadbcm5719-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.cpp1
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
OpenPOWER on IntegriCloud