[SERVER-71123] Implement iwyu tool from POC Created: 07/Nov/22  Updated: 29/Oct/23  Resolved: 12/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

Create a tool from POC. The POC had some limitation and was too integrated scons.

 

The new tool should use emitters on the object builders to create the iwyu and fix output files, then set itself as a dependency on the object file, this way when iwyu is enabled, it will automatically happen for current targets. This also will work for ninja.

 

Create the full-run-iwyu and the git-diff-iwyu targets to facilitate running IWYU.



 Comments   
Comment by Githook User [ 11/May/23 ]

Author:

{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}

Message: SERVER-71123 implement IWYU tool and add required human changes
Branch: master
https://github.com/mongodb/mongo/commit/14e3b091373c63edb7ece3b47f35f3dec198fdad

Generated at Thu Feb 08 06:18:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.