Silence -Wreturn-type with gcc 5.2
The switch is fully covered, mark "default" as unreachable. NFC. llvm-svn: 250667
This commit is contained in:
parent
4b81fc87ad
commit
43d3a7ae01
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue