diff options
author | Danilo Carvalho Grael <danilo.carvalho.grael@huawei.com> | 2019-12-27 10:05:28 -0500 |
---|---|---|
committer | Danilo Carvalho Grael <danilo.carvalho.grael@huawei.com> | 2019-12-27 10:06:19 -0500 |
commit | 2abda66848e5b7f502f978f030254118ec6751d6 (patch) | |
tree | 6f7aeb82a19960c961cf172f04a9e58596385450 /clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | |
parent | 3356e268f6cdfd4815da70ae4fc6b8db63163375 (diff) | |
download | bcm5719-llvm-2abda66848e5b7f502f978f030254118ec6751d6.tar.gz bcm5719-llvm-2abda66848e5b7f502f978f030254118ec6751d6.zip |
[NFC][DA] Remove duplicate code in checkSrcSubscript and checkDstSubscript
Summary:
[DA] Move common code in checkSrcSubscript and checkDstSubscript to a
new function checkSubscript. This avoids duplicate code and possible
out of sync in the future.
Reviewers: sebpop, jmolloy, reames
Reviewed By: sebpop
Subscribers: bmahjour, hiraditya, llvm-commits, amehsan
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71087
Patch by zhongduo.
Diffstat (limited to 'clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp')
0 files changed, 0 insertions, 0 deletions