[PATCH] D21601: Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 22 02:04:25 PDT 2016
ioeric created this revision.
ioeric added reviewers: klimek, djasper.
ioeric added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
return llvm::Expected<> to carry error status and error information.
This is the first step towards introducing "Error" into tooling::Replacements.
http://reviews.llvm.org/D21601
Files:
include/clang/Tooling/Core/Replacement.h
lib/Format/Format.cpp
lib/Tooling/Core/Replacement.cpp
tools/clang-format/ClangFormat.cpp
unittests/Format/CleanupTest.cpp
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestJS.cpp
unittests/Format/FormatTestJava.cpp
unittests/Format/FormatTestProto.cpp
unittests/Format/FormatTestSelective.cpp
unittests/Format/SortImportsTestJS.cpp
unittests/Format/SortIncludesTest.cpp
unittests/Tooling/RefactoringTest.cpp
unittests/Tooling/RewriterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21601.61518.patch
Type: text/x-patch
Size: 16923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160622/07129366/attachment-0001.bin>
More information about the cfe-commits
mailing list