Reorder #include directives
By default, clang-format
reorders the #include
s alphabetically. This breaks compilation in IPPL because some headers depend on some things being declared before others.
This adds configuration to clang-format
to force some files to be included before others, in order to ensure that all types are defined where they need to be. This MR is in interest of keeping master
compile-able at least with GCC 11.
Further testing is required to determine why GCC 12 claims to find array bound errors in the existing code (this appears to be a new kind of warning introduced in GCC 12).
Edited by vinciguerra_a