[Lldb-commits] [PATCH] D28519: Add format_provider for the Error class

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 10 11:36:43 PST 2017

clayborg added a comment.

See inlined comment.

Comment at: include/lldb/Core/Error.h:308-309
+                     llvm::StringRef Options) {
+    llvm::format_provider<llvm::StringRef>::format(error.AsCString(), OS,
+                                                   Options);
+  }
Do we want to prefix this output with "error: " followed by the error string?


More information about the lldb-commits mailing list