You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a script which takes in the output of suggest_include_changes.py and iteratively tries to get a clean build with the suggestions.
First apply all of the add suggestions - worst case it adds some false positives
Go through each translation unit, remove the suggested includes to remove, try to build, if it doesn't build cleanly, try each one individually to find the offending include(s)
Keep track of which removals caused a build failure. After N failures, add it to an ignore list and no longer try those removals
After all removals in translation units build cleanly, start removing from headers in batches of M files - if a build failure occurs, do one file at a time from the batch, then test each include removed in that file, repeat
At the end, output the list of ignored include removals for inspection, and leave the source tree in the modified state so that a full clean build can be done with include analysis.
The text was updated successfully, but these errors were encountered:
Create a script which takes in the output of
suggest_include_changes.py
and iteratively tries to get a clean build with the suggestions.At the end, output the list of ignored include removals for inspection, and leave the source tree in the modified state so that a full clean build can be done with include analysis.
The text was updated successfully, but these errors were encountered: