Apparently the log_append variant added in r355863 is considered
ambiguous. At this point I'm out of ideas so a good old reinterpret cast
will have to do. If anybody has a better idea I'd be happy to hear it.
llvm-svn: 355866
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 <>