Bug 246984 - generate-compile-commands --delete-invalid
Summary: generate-compile-commands --delete-invalid
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 246988
  Show dependency treegraph
 
Reported: 2022-10-24 20:01 PDT by Gerald Squelart
Modified: 2022-10-24 21:37 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Squelart 2022-10-24 20:01:35 PDT
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.
Comment 1 Radar WebKit Bug Importer 2022-10-24 20:01:50 PDT
<rdar://problem/101526717>
Comment 2 Gerald Squelart 2022-10-24 20:08:54 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5731
Comment 3 EWS 2022-10-24 21:37:06 PDT
Committed 255942@main (a74c9a0a746b): <https://commits.webkit.org/255942@main>

Reviewed commits have been landed. Closing PR #5731 and removing active labels.