llvm-project/clang/lib/Tooling
Eric Liu 4f8d99433d Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error.
Summary:
return llvm::Expected<> to carry error status and error information.
This is the first step towards introducing "Error" into tooling::Replacements.

Reviewers: djasper, klimek

Subscribers: ioeric, klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D21601

llvm-svn: 275062
2016-07-11 13:53:12 +00:00
..
Core Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
ArgumentsAdjusters.cpp Make ArgumentAdjuster aware of the current file being processed. 2015-11-05 02:19:53 +00:00
CMakeLists.txt [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
CommonOptionsParser.cpp Apply some suggestions from clang-tidy's performance-unnecessary-value-param. 2016-06-15 14:20:56 +00:00
CompilationDatabase.cpp Rename Action::begin() to Action::input_begin(). 2016-02-23 19:30:43 +00:00
FileMatchTrie.cpp Tooling: Hide implementation details 2015-03-09 15:03:26 +00:00
FixIt.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
JSONCompilationDatabase.cpp [tooling] Provide the compile commands of the JSON database in the order that they were provided in the JSON file. 2015-09-22 17:22:33 +00:00
Refactoring.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
RefactoringCallbacks.cpp
Tooling.cpp NFC. Test commit, remove a redundant empty line in Tooling.cpp 2016-06-28 17:56:29 +00:00