This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][tests] Fix issue comparison script
ClosedPublic

Authored by vsavchenko on Feb 12 2021, 8:55 AM.

Details

Summary

When newer build has duplicate issues the script tried to
remove it from the list more than once. The new approach
changes the way we filter out matching issues.

Diff Detail

Event Timeline

vsavchenko created this revision.Feb 12 2021, 8:55 AM
vsavchenko requested review of this revision.Feb 12 2021, 8:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 12 2021, 8:55 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
NoQ accepted this revision.Feb 12 2021, 10:10 AM

Thx!~

clang/utils/analyzer/CmpRuns.py
401–402

If old and new were sets from the beginning we could have turned this into old = old - common etc. and it would have been kinda neat.

This revision is now accepted and ready to land.Feb 12 2021, 10:10 AM
This revision was automatically updated to reflect the committed changes.