[Lldb-commits] [PATCH] D42182: Add LLDB_LOG_ERROR (?)

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 18 08:09:38 PST 2018


labath added a comment.

The behavior of llvm::Error is one more quirk that you need to know about, but I don't think the logging machinery is the place that should teach you that. If you're working with llvm::Error, in all likelyhook you've already had to learn about this behavior anyway, in which case seeing the std::move should be enough of a signal to explain what happens. So, I'd prefer to stick to a shorter name here.


https://reviews.llvm.org/D42182





More information about the lldb-commits mailing list