Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

Reorder #include directives

vinciguerra_a requested to merge reformat-code into master

By default, clang-format reorders the #includes 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

Merge request reports

Loading