I should also mention that bmcweb already uses the clang-format file to order headers based on some specific libraries. It might be a decent example of how to do it for other repositories. https://github.com/openbmc/bmcweb/blob/master/.clang-format -Ed