forked from OSchip/llvm-project
aecc59c5f9
Summary: Changes the signature of the TextGenerator std::function to return an Expected<std::string> instead of std::string to allow for (non-fatal) failures. Previously, we expected that any failures would be expressed with assertions. However, that's unfriendly to running the code in servers or other places that don't want their library calls to crash the program. Correspondingly, updates Transformer's handling of failures in TextGenerators and the signature of `ChangeConsumer`. Reviewers: ilya-biryukov Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61015 llvm-svn: 359574 |
||
---|---|---|
.. | ||
ASTDiff | ||
Core | ||
Inclusions | ||
Refactoring | ||
AllTUsExecution.cpp | ||
ArgumentsAdjusters.cpp | ||
CMakeLists.txt | ||
CommonOptionsParser.cpp | ||
CompilationDatabase.cpp | ||
Execution.cpp | ||
FileMatchTrie.cpp | ||
FixIt.cpp | ||
InterpolatingCompilationDatabase.cpp | ||
JSONCompilationDatabase.cpp | ||
Refactoring.cpp | ||
RefactoringCallbacks.cpp | ||
StandaloneExecution.cpp | ||
Tooling.cpp |