[PATCH] D21601: Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 24 09:02:52 PDT 2016

klimek added a comment.

In http://reviews.llvm.org/D21601#466513, @ioeric wrote:

> Would EXPECTED_FALSE(!Code) be better?

Not really. Can we at least use static_cast<bool>(...)?


More information about the cfe-commits mailing list