[PATCH] D67843: DisableFormat also now disables SortIncludes

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 12:08:10 PDT 2019


thakis added a comment.

4. Make it so that if DisableFormat is explicitly set to true and SortIncludes isn't explicitly set, then it disables SortIncludes. Or, put a different way, when DisableFormat is set, set SortIncludes to false at that point. Then an explicit `DisableFormat: true; SortIncludes: true` would still work.

MyDeveloperDay, would you find that intuitive?

I think the patch as-is is fine as I said, but if folks want to sort includes without formatting, that might be another option.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67843/new/

https://reviews.llvm.org/D67843





More information about the cfe-commits mailing list