[PATCH] D97150: [clang-tidy] Simplify suspicious memset usage check
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 21 13:28:04 PST 2021
njames93 accepted this revision.
njames93 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp:39
- unless(
- eachOf(hasArgument(0, anyOf(hasType(pointsTo(isAnyCharacter())),
- hasType(arrayType(hasElementType(
----------------
This eachOf looked suspicious inside of an unless. Removing it should have no effect tho.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97150/new/
https://reviews.llvm.org/D97150
More information about the cfe-commits
mailing list