This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][NFC] Remove dead field of UnixAPICheckers
ClosedPublic

Authored by steakhal on Jun 15 2022, 2:32 AM.

Details

Summary

Initially, I thought there is some fundamental bug here by not using the
bool fields, but it turns out D55425 split this checker into two
separate ones; making these fields dead.

Depends on D127836, which uncovered this issue.

Diff Detail

Event Timeline

steakhal created this revision.Jun 15 2022, 2:32 AM
Herald added a project: Restricted Project. · View Herald Transcript
steakhal requested review of this revision.Jun 15 2022, 2:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2022, 2:32 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Umm, why this can't be part of D127836 ?

Umm, why this can't be part of D127836 ?

It can be, but I wanted to still do this separately. The reasoning in the summary should nominate this to a separate discussion.
Just consider if it was a real catch. I would definitely not wanted it to be part of that generic refactor change.
In the end, it turned out to be not the case, but I wanted to be explicit about this.

That being said, I'd insist.

martong accepted this revision.Jun 15 2022, 7:01 AM

Ok. LGTM

This revision is now accepted and ready to land.Jun 15 2022, 7:01 AM
This revision was landed with ongoing or failed builds.Jun 15 2022, 7:50 AM
This revision was automatically updated to reflect the committed changes.