llvm-project/clang/tools/clang-format
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
..
fuzzer [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. (following llvm r249214) 2015-10-02 23:34:37 +00:00
CMakeLists.txt [CMake] Add install-clang-format target by migrating to add_clang_tool 2016-02-23 20:33:15 +00:00
ClangFormat.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
clang-format-bbedit.applescript Basic clang-format integration for BBEdit. 2013-05-02 17:37:36 +00:00
clang-format-diff.py clang-format-diff: Replace hard-code default for clang-format binary with flag. 2016-01-20 18:55:57 +00:00
clang-format-sublime.py clang-format: Enable #include sorting by default. 2015-11-16 12:38:56 +00:00
clang-format.el clang-format: Enable #include sorting by default. 2015-11-16 12:38:56 +00:00
clang-format.py clang-format: Enable #include sorting by default. 2015-11-16 12:38:56 +00:00
git-clang-format clang-format: Add TypeScript detection to git-clang-format. 2015-06-19 08:23:10 +00:00