summaryrefslogtreecommitdiffstats
path: root/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp
diff options
context:
space:
mode:
authorDanilo Carvalho Grael <danilo.carvalho.grael@huawei.com>2019-12-27 10:05:28 -0500
committerDanilo Carvalho Grael <danilo.carvalho.grael@huawei.com>2019-12-27 10:06:19 -0500
commit2abda66848e5b7f502f978f030254118ec6751d6 (patch)
tree6f7aeb82a19960c961cf172f04a9e58596385450 /clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp
parent3356e268f6cdfd4815da70ae4fc6b8db63163375 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud