summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Utility/ReproducerInstrumentation.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lldb/include/lldb/Utility/ReproducerInstrumentation.h b/lldb/include/lldb/Utility/ReproducerInstrumentation.h
index eeb9ab09990..61e4126ddf2 100644
--- a/lldb/include/lldb/Utility/ReproducerInstrumentation.h
+++ b/lldb/include/lldb/Utility/ReproducerInstrumentation.h
@@ -34,12 +34,7 @@ inline void log_append(llvm::raw_string_ostream &ss, const T &t) {
template <typename T>
inline void log_append(llvm::raw_string_ostream &ss, const T *t) {
- ss << t;
-}
-
-template <typename T, typename... E>
-inline void log_append(llvm::raw_string_ostream &ss, T (*t)(E...)) {
- ss << &t;
+ ss << reinterpret_cast<const void *>(t);
}
template <>
OpenPOWER on IntegriCloud