Make use of the equalsBoundNode matcher to ensure Init, Conditon and Increment variables all refer to the same variable during matching.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D97639
[clang-tidy][NFC] Use equalsBoundNode matchers to simplify LoopConvertCheck ClosedPublic Authored by njames93 on Feb 28 2021, 12:15 PM.
Details Summary Make use of the equalsBoundNode matcher to ensure Init, Conditon and Increment variables all refer to the same variable during matching.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 28 2021, 3:06 PM Closed by commit rG1a91b8232a5d: [clang-tidy][NFC] Use equalsBoundNode matchers to simplify LoopConvertCheck (authored by njames93). · Explain WhyMar 2 2021, 6:51 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 327650 clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
|