[PATCH] D64695: [clang-format] Added new style rule: SortNetBSDIncludes
Manikishan Ghantasala via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 15 08:57:29 PDT 2019
Manikishan added a comment.
In D64695#1585754 <https://reviews.llvm.org/D64695#1585754>, @rdwampler wrote:
> I am not quite sure why this change is required to sort the headers for NetBSD, you can set the priorities via `IncludeStyle.IncludeCategories`. Is that not sufficient?
It can be done by setting priorities in IncludeCategories, but here we have nearly 40+ cases and categories to hardcode due to complex interdependencies between their headers. So, I have added this style decreasing the cases using regex.
CHANGES SINCE LAST ACTION
More information about the cfe-commits