Skip to content

Remove all the unnecessary LANGUAGE pragmas from base

Background: #18424

This MR leverages the lint Hadrian rule to remove unused LANGUAGE pragmas in the base code base. I tried to minimise the diffs while keeping some kind of unity across the (too many) pragma declaration styles that have emerged during the last few decades.
The result is :

  • 1 pragma per line.
  • Pragmas are before module declaration and module documentation
  • Delimiters can be aligned according to the furthest
  • Pragmas are alphabetically ordered

All of these rules already exist in various combinations in the code base.
This MR only harmonises the styles that are the most prominent.

No feature change.

Edited by Hécate Moonlight

Merge request reports