Move IWYU line comments that appear above blocks of include directives

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • ALL
    • Programmability 2026-07-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      clang-format can't reorder header includes through these line comments, so we end up with blocks of includes that can't be put in the correct order by clang-format.

      Further, clang-format can only eliminate duplicate include directives within a block of includes, so these comments prevent deduplication as well. This is related to SERVER-132227

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: