[all-commits] [llvm/llvm-project] 1a91b8: [clang-tidy][NFC] Use equalsBoundNode matchers to ...
Nathan James via All-commits
all-commits at lists.llvm.org
Tue Mar 2 18:52:00 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a91b8232a5d31ef3a4f8eb52f5a7aaf79525b9b
https://github.com/llvm/llvm-project/commit/1a91b8232a5d31ef3a4f8eb52f5a7aaf79525b9b
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2021-03-03 (Wed, 03 Mar 2021)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
Log Message:
-----------
[clang-tidy][NFC] Use equalsBoundNode matchers to simplify LoopConvertCheck
Make use of the `equalsBoundNode` matcher to ensure Init, Conditon and Increment variables all refer to the same variable during matching.
Reviewed By: steveire
Differential Revision: https://reviews.llvm.org/D97639
More information about the All-commits
mailing list