llvm-project/clang/unittests/Format
Martin Probst a9855afedf clang-format: [JS] merge requoting replacements.
Summary:
When formatting source code that needs both requoting and reindentation,
merge the replacements to avoid erroring out for conflicting replacements.

Also removes the misleading Replacements parameter from the
TokenAnalyzer API.

Reviewers: djasper

Subscribers: klimek, cfe-commits

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

llvm-svn: 280487
2016-09-02 14:29:48 +00:00
..
CMakeLists.txt clang-format: [JS] sort ES6 imports. 2016-05-20 11:24:24 +00:00
CleanupTest.cpp Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
FormatTest.cpp clang-format: Add SpaceAfterTemplate 2016-08-09 14:24:40 +00:00
FormatTestJS.cpp clang-format: [JS] merge requoting replacements. 2016-09-02 14:29:48 +00:00
FormatTestJava.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
FormatTestProto.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
FormatTestSelective.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
SortImportsTestJS.cpp clang-format: [JS] handle default bindings in imports. 2016-09-02 14:06:32 +00:00
SortIncludesTest.cpp clang-format: Correctly calculate affected ranges when sorting #includes. 2016-08-30 21:33:41 +00:00