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:
Saleem Abdulrasool 2015-10-18 20:51:18 +00:00
parent 4b81fc87ad
commit 43d3a7ae01
1 changed files with 1 additions and 0 deletions

View File

@ -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