[PATCH] D97639: [clang-tidy][NFC] Use equalsBoundNode matchers to simplify LoopConvertCheck
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 28 12:15:55 PST 2021
njames93 created this revision.
njames93 added reviewers: alexfh, aaron.ballman, gribozavr2.
Herald added a subscriber: xazax.hun.
njames93 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Make use of the `equalsBoundNode` matcher to ensure Init, Conditon and Increment variables all refer to the same variable during matching.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97639
Files:
clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97639.326991.patch
Type: text/x-patch
Size: 8830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210228/ea2d993a/attachment.bin>
More information about the cfe-commits
mailing list