This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Simplify suspicious memset usage check
ClosedPublic

Authored by steveire on Feb 21 2021, 7:32 AM.

Diff Detail

Event Timeline

steveire created this revision.Feb 21 2021, 7:32 AM
steveire requested review of this revision.Feb 21 2021, 7:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2021, 7:32 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 accepted this revision.Feb 21 2021, 1:27 PM
njames93 added inline comments.
clang-tools-extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp
39

This eachOf looked suspicious inside of an unless. Removing it should have no effect tho.

This revision is now accepted and ready to land.Feb 21 2021, 1:27 PM