[lldb/Reproducers] Fix reproducer instrumentation formatting (NFC)

This commit is contained in:
Jonas Devlieghere 2020-01-29 21:21:02 -08:00
parent 056f01f895
commit 12c185ac5e
2 changed files with 4 additions and 3 deletions

View File

@ -253,7 +253,8 @@ struct NotImplementedTag {};
/// Return the deserialization tag for the given type T.
template <class T> struct serializer_tag {
typedef typename std::conditional<std::is_trivially_copyable<T>::value, ValueTag, NotImplementedTag>::type type;
typedef typename std::conditional<std::is_trivially_copyable<T>::value,
ValueTag, NotImplementedTag>::type type;
};
template <class T> struct serializer_tag<T *> {
typedef

View File

@ -35,8 +35,8 @@ template <> const char *Deserializer::Deserialize<const char *>() {
const char *str = m_buffer.data();
m_buffer = m_buffer.drop_front(pos + 1);
#ifdef LLDB_REPRO_INSTR_TRACE
llvm::errs() << "Deserializing with " << LLVM_PRETTY_FUNCTION << " -> \""
<< str << "\"\n";
llvm::errs() << "Deserializing with " << LLVM_PRETTY_FUNCTION << " -> \""
<< str << "\"\n";
#endif
return str;
}