On 28.07.2023 10:11, Luca Fancellu wrote: > This script finds every .c and .h file in the xen hypervisor > codebase, takes the exclusion list from docs/misra, removes the > file excluded from the list and for the remaining files is > calling clang-format on them.
I was going to ask what the intended purpose is, but looking at the script itself I think I see the script can also be passed a set of file names, so it won't necessarily scan the entire code base. That'll make it more suitable to also be used in an incremental fashion (whether that's also useful to scan patches isn't really clear to me, but I guess that'll require yet more work). Jan