[PATCH] D11240: Add basic #include sorting functionality to clang-format
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 7 03:15:33 PDT 2015
djasper updated the summary for this revision.
djasper updated this revision to Diff 34137.
djasper added a comment.
Now properly implemented merging of two replacement sets that are meant to be applied in sequence. I think this functionality will also be highly useful, e.g. when formatting the result of a clang-tidy fix or many other such things.
http://reviews.llvm.org/D11240
Files:
include/clang/Format/Format.h
include/clang/Tooling/Core/Replacement.h
lib/Format/Format.cpp
lib/Format/FormatToken.cpp
lib/Tooling/Core/Replacement.cpp
tools/clang-format/CMakeLists.txt
tools/clang-format/ClangFormat.cpp
tools/clang-format/clang-format.py
unittests/Format/CMakeLists.txt
unittests/Format/SortIncludesTest.cpp
unittests/Tooling/RefactoringTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11240.34137.patch
Type: text/x-patch
Size: 26925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150907/011794a5/attachment-0001.bin>
More information about the cfe-commits
mailing list