hanchenye-llvm-project/clang/tools/clang-format
Eric Liu 40ef2fb363 Implement tooling::Replacements as a class.
Summary:
- Implement clang::tooling::Replacements as a class to provide interfaces to
  control how replacements for a single file are combined and provide guarantee
  on the order of replacements being applied.
- tooling::Replacements only contains replacements for the same file now.
  Use std::map<std::string, tooling::Replacements> to represent multi-file
  replacements.
- Error handling for the interface change will be improved in followup patches.

Reviewers: djasper, klimek

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D21748

llvm-svn: 277335
2016-08-01 10:16:37 +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 Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
clang-format-bbedit.applescript
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