Sometimes after some builds (probably failed or interrupted ones), `generate-compile-commands` starts listing invalid-json files. These don't go away between rebuilds, potentially adding lots of lines obscuring the results from the above build. I would like an option `--delete-invalid` to remove those invalid files, so that they won't keep appearing in subsequent builds.
<rdar://problem/101526717>
Pull request: https://github.com/WebKit/WebKit/pull/5731
Committed 255942@main (a74c9a0a746b): <https://commits.webkit.org/255942@main> Reviewed commits have been landed. Closing PR #5731 and removing active labels.