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

Remove unused and add missing includes

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Performance

      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.

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

              Created:
              Updated:
              Resolved: