This patch allows grouping multiple #include blocks together and sort all includes as one big block.
Additionally, sorted includes can be regrouped after sorting based on configured categories.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
unittests/Format/SortIncludesTest.cpp | ||
---|---|---|
357 | I changed this to better reflect what I was trying to test. Now the expected order is not sorted from a..c |
Comment Actions
@krasimir thanks for the review! I don't have commit rights. Would you push this for me?
Please replace this with two explicit checks for the expected styles. Plus, an else if with an empty body is super awkward.