Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2102

Remove unused and add missing includes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Performance

    Description

      We have a ton of unused includes, and an unnecessarily complex includes hierarchy, which causes slow compilation times and strange "missing imports" issues (CXX-2099). My IDE (CLion) highlights these issues locally, but it'd impractical to refactor the includes in each source and header file manually. We should automate the cleanup and use the same automation tool in code reviews to ensure unused includes aren't introduced.

      Attachments

        Activity

          People

            Unassigned Unassigned
            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: