[PATCH] D11240: Add basic #include sorting functionality to clang-format

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 08:00:41 PDT 2015


djasper updated this revision to Diff 31670.
djasper added a comment.

Added an alternative way to handle the two sets of Replacements: Merge them properly.

I haven't completely finished implementing / testing this. Wanted to get feedback first before going further down this road.


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.31670.patch
Type: text/x-patch
Size: 19081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150810/904f7ef5/attachment.bin>


More information about the cfe-commits mailing list