[CXX-2102] Remove unused and add missing includes Created: 02/Sep/20  Updated: 07/Feb/24  Resolved: 07/Feb/24

Status: Closed
Project: C++ Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Clyde Bazile III (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: bgtrack, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CXX-2367 Review #include hygiene in header files Backlog
Problem/Incident
causes CXX-2099 3.6.0, missing <string> includes, OSX... Closed
Related
is related to CXX-132 Run IWYU (include what you use) over ... Closed
Epic Link: CXX usability improvements

 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.



 Comments   
Comment by Rishabh Bisht [ 07/Feb/24 ]

Duplicates CXX-2367. Closing this ticket. 

Generated at Wed Feb 07 22:04:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.