Home
last modified time | relevance | path

Searched refs:InnerMatcher (Results 1 – 11 of 11) sorted by relevance

/external/clang/include/clang/ASTMatchers/
DASTMatchers.h116 const internal::BindableMatcher<T> &InnerMatcher) { in id() argument
117 return InnerMatcher.bind(ID); in id()
509 internal::Matcher<TemplateArgument>, InnerMatcher) { in AST_POLYMORPHIC_MATCHER_P() argument
512 return matchesFirstInRange(InnerMatcher, List.begin(), List.end(), Finder, in AST_POLYMORPHIC_MATCHER_P()
542 internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() argument
543 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); in AST_MATCHER_P()
563 AST_MATCHER_P(Expr, ignoringParenCasts, internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() argument
564 return InnerMatcher.matches(*Node.IgnoreParenCasts(), Finder, Builder); in AST_MATCHER_P()
589 internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() argument
590 return InnerMatcher.matches(*Node.IgnoreParenImpCasts(), Finder, Builder); in AST_MATCHER_P()
[all …]
DASTMatchersInternal.h396 explicit WrapperMatcherInterface(DynTypedMatcher &&InnerMatcher) in WrapperMatcherInterface() argument
397 : InnerMatcher(std::move(InnerMatcher)) {} in WrapperMatcherInterface()
399 const DynTypedMatcher InnerMatcher; variable
476 TypeToQualType(const Matcher<TypeT> &InnerMatcher) in TypeToQualType() argument
477 : TypeToQualType::WrapperMatcherInterface(InnerMatcher) {} in TypeToQualType()
483 return this->InnerMatcher.matches( in matches()
654 explicit HasDeclarationMatcher(const Matcher<Decl> &InnerMatcher) in HasDeclarationMatcher() argument
655 : HasDeclarationMatcher::WrapperMatcherInterface(InnerMatcher) {} in HasDeclarationMatcher()
735 this->InnerMatcher.matches( in matchesDecl()
959 explicit Adaptor(const Matcher<T> &InnerMatcher)
[all …]
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp76 const IntrusiveRefCntPtr<DynMatcherInterface> &InnerMatcher) in IdDynMatcher() argument
77 : ID(ID), InnerMatcher(InnerMatcher) {} in IdDynMatcher()
82 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches()
89 const IntrusiveRefCntPtr<DynMatcherInterface> InnerMatcher; member in clang::ast_matchers::internal::__anoned29a3e60111::IdDynMatcher
258 for (const DynTypedMatcher &InnerMatcher : InnerMatchers) { in AllOfVariadicOperator() local
259 if (!InnerMatcher.matchesNoKindCheck(DynNode, Finder, Builder)) in AllOfVariadicOperator()
271 for (const DynTypedMatcher &InnerMatcher : InnerMatchers) { in EachOfVariadicOperator() local
273 if (InnerMatcher.matches(DynNode, Finder, &BuilderInner)) { in EachOfVariadicOperator()
286 for (const DynTypedMatcher &InnerMatcher : InnerMatchers) { in AnyOfVariadicOperator() local
288 if (InnerMatcher.matches(DynNode, Finder, &Result)) { in AnyOfVariadicOperator()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-matchers.h229 template <typename InnerMatcher>
230 explicit ArgsMatcherImpl(const InnerMatcher& inner_matcher) in ArgsMatcherImpl()
288 template <class InnerMatcher, int k0 = -1, int k1 = -1, int k2 = -1,
293 explicit ArgsMatcher(const InnerMatcher& inner_matcher) in ArgsMatcher()
303 const InnerMatcher inner_matcher_;
845 template <typename InnerMatcher>
846 inline internal::ArgsMatcher<InnerMatcher>
847 Args(const InnerMatcher& matcher) { in Args()
848 return internal::ArgsMatcher<InnerMatcher>(matcher); in Args()
851 template <int k1, typename InnerMatcher>
[all …]
Dgmock-matchers.h1234 template <typename InnerMatcher>
1237 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {} in NotMatcher()
1247 InnerMatcher matcher_;
1655 template <typename InnerMatcher>
1658 explicit PointeeMatcher(const InnerMatcher& matcher) : matcher_(matcher) {} in PointeeMatcher()
1681 explicit Impl(const InnerMatcher& matcher) in Impl()
1709 const InnerMatcher matcher_;
2219 template <typename InnerMatcher>
2220 explicit QuantifierMatcherImpl(InnerMatcher inner_matcher)
2258 template <typename InnerMatcher>
[all …]
Dgmock-generated-matchers.h.pump114 template <typename InnerMatcher>
115 explicit ArgsMatcherImpl(const InnerMatcher& inner_matcher)
172 template <class InnerMatcher$for i [[, int k$i = -1]]>
175 explicit ArgsMatcher(const InnerMatcher& inner_matcher)
184 const InnerMatcher inner_matcher_;
314 template <$for j [[int k$j, ]]typename InnerMatcher>
315 inline internal::ArgsMatcher<InnerMatcher$for j [[, k$j]]>
316 Args(const InnerMatcher& matcher) {
317 return internal::ArgsMatcher<InnerMatcher$for j [[, k$j]]>(matcher);
/external/gmock/include/gmock/
Dgmock-generated-matchers.h230 template <typename InnerMatcher>
231 explicit ArgsMatcherImpl(const InnerMatcher& inner_matcher) in ArgsMatcherImpl()
289 template <class InnerMatcher, int k0 = -1, int k1 = -1, int k2 = -1,
294 explicit ArgsMatcher(const InnerMatcher& inner_matcher) in ArgsMatcher()
304 const InnerMatcher inner_matcher_;
490 template <typename InnerMatcher>
491 inline internal::ArgsMatcher<InnerMatcher>
492 Args(const InnerMatcher& matcher) { in Args()
493 return internal::ArgsMatcher<InnerMatcher>(matcher); in Args()
496 template <int k1, typename InnerMatcher>
[all …]
Dgmock-matchers.h1394 template <typename InnerMatcher>
1397 explicit NotMatcher(InnerMatcher matcher) : matcher_(matcher) {}
1407 InnerMatcher matcher_;
1947 template <typename InnerMatcher>
1950 explicit PointeeMatcher(const InnerMatcher& matcher) : matcher_(matcher) {}
1973 explicit Impl(const InnerMatcher& matcher)
2001 const InnerMatcher matcher_;
2567 template <typename InnerMatcher>
2568 explicit QuantifierMatcherImpl(InnerMatcher inner_matcher)
2606 template <typename InnerMatcher>
[all …]
Dgmock-generated-matchers.h.pump115 template <typename InnerMatcher>
116 explicit ArgsMatcherImpl(const InnerMatcher& inner_matcher)
173 template <class InnerMatcher$for i [[, int k$i = -1]]>
176 explicit ArgsMatcher(const InnerMatcher& inner_matcher)
185 const InnerMatcher inner_matcher_;
259 template <$for j [[int k$j, ]]typename InnerMatcher>
260 inline internal::ArgsMatcher<InnerMatcher$for j [[, k$j]]>
261 Args(const InnerMatcher& matcher) {
262 return internal::ArgsMatcher<InnerMatcher$for j [[, k$j]]>(matcher);
/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp64 for (const auto &InnerMatcher : InnerMatchers) { in constructVariadicOperator() local
67 if (!InnerMatcher.Value) in constructVariadicOperator()
70 InnerMatcher.Value->getTypedMatcher(*this); in constructVariadicOperator()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp4664 VerifyMatchOnNode(StringRef Id, const internal::Matcher<T> &InnerMatcher, in VerifyMatchOnNode() argument
4666 : Id(Id), InnerMatcher(InnerMatcher), InnerId(InnerId) { in VerifyMatchOnNode()
4673 return selectFirst<T>(InnerId, match(InnerMatcher, *Node, *Context)) != in run()
4678 internal::Matcher<T> InnerMatcher; member in clang::ast_matchers::VerifyMatchOnNode