[PATCH] D49129: [Support] raw_ostream << Error&& and formatv(..., Error&&) consume the Error.
Sam McCall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 10 06:56:02 PDT 2018
sammccall created this revision.
Herald added a subscriber: llvm-commits.
This makes them behave like the current llvm::toString (in Error.h).
Because of this, we can unify the behavior of llvm::toString with
llvm::to_string, and deprecate the former.
Repository:
rL LLVM
https://reviews.llvm.org/D49129
Files:
include/llvm/Support/Error.h
include/llvm/Support/FormatVariadicDetails.h
include/llvm/Support/ScopedPrinter.h
lib/Support/FormatVariadic.cpp
unittests/Support/ErrorTest.cpp
unittests/Support/FormatVariadicTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49129.154791.patch
Type: text/x-patch
Size: 5060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/7ab9007a/attachment.bin>
More information about the llvm-commits
mailing list