OSDN Git Service

Remove WrapperMatcherInterface
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 28 May 2020 15:36:48 +0000 (17:36 +0200)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 28 May 2020 15:58:29 +0000 (17:58 +0200)
commit35492270ed705ea9ac98ba04c6fda1adafef613a
treeee111c0571222871f75de3748a05fea683d3cf09
parent73c120a9895a7e12e3c29a755d64096c8bd0220f
Remove WrapperMatcherInterface

Summary:
WrapperMatcherInterface is an abstraction over a member variable -- in
other words, not much of an abstraction at all. I think it makes code
harder to read more than in helps with deduplication. Not to even
mention the questionable usage of the ~Interface suffix for a type with
state.

Reviewers: ymandel

Reviewed By: ymandel

Subscribers: arichardson, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80704
clang/include/clang/ASTMatchers/ASTMatchersInternal.h