-
Type: Improvement
-
Resolution: Duplicate
-
Priority: 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.