[Lldb-commits] [lldb] 12c185a - [lldb/Reproducers] Fix reproducer instrumentation formatting (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 29 21:38:55 PST 2020
Author: Jonas Devlieghere
Date: 2020-01-29T21:38:30-08:00
New Revision: 12c185ac5e5c396018c60565eff50187bace7011
URL: https://github.com/llvm/llvm-project/commit/12c185ac5e5c396018c60565eff50187bace7011
DIFF: https://github.com/llvm/llvm-project/commit/12c185ac5e5c396018c60565eff50187bace7011.diff
LOG: [lldb/Reproducers] Fix reproducer instrumentation formatting (NFC)
Added:
Modified:
lldb/include/lldb/Utility/ReproducerInstrumentation.h
lldb/source/Utility/ReproducerInstrumentation.cpp
Removed:
################################################################################
diff --git a/lldb/include/lldb/Utility/ReproducerInstrumentation.h b/lldb/include/lldb/Utility/ReproducerInstrumentation.h
index 9dbe8dc547f5..71b85a266592 100644
--- a/lldb/include/lldb/Utility/ReproducerInstrumentation.h
+++ b/lldb/include/lldb/Utility/ReproducerInstrumentation.h
@@ -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
diff --git a/lldb/source/Utility/ReproducerInstrumentation.cpp b/lldb/source/Utility/ReproducerInstrumentation.cpp
index f8a0d661c5a5..c8a493ccd22b 100644
--- a/lldb/source/Utility/ReproducerInstrumentation.cpp
+++ b/lldb/source/Utility/ReproducerInstrumentation.cpp
@@ -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;
}
More information about the lldb-commits
mailing list