Home
last modified time | relevance | path

Searched refs:Matchers (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/
HDASTMatchFinder.cpp299 MatchASTVisitor(const MatchFinder::MatchersByType *Matchers, in MatchASTVisitor() argument
301 : Matchers(Matchers), Options(Options), ActiveASTContext(nullptr) {} in MatchASTVisitor()
312 for (MatchCallback *MC : Matchers->AllCallbacks) { in onStartOfTranslationUnit()
322 for (MatchCallback *MC : Matchers->AllCallbacks) { in onEndOfTranslationUnit()
527 void matchWithoutFilter(const T &Node, const MC &Matchers) { in matchWithoutFilter() argument
530 for (const auto &MP : Matchers) { in matchWithoutFilter()
552 auto &Matchers = this->Matchers->DeclOrStmt; in matchWithFilter() local
554 auto &MP = Matchers[I]; in matchWithFilter()
568 auto &Matchers = this->Matchers->DeclOrStmt; in getFilterForKind() local
569 assert((Matchers.size() < USHRT_MAX) && "Too many matchers."); in getFilterForKind()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
HDVariantValue.cpp114 : Matchers(std::move(MatchersIn)) {} in PolymorphicPayload()
119 if (Matchers.size() != 1) in getSingleMatcher()
121 return Matchers[0]; in getSingleMatcher()
126 for (size_t i = 0, e = Matchers.size(); i != e; ++i) { in getTypeAsString()
129 Inner += Matchers[i].getSupportedKind().asStringRef(); in getTypeAsString()
139 for (size_t i = 0, e = Matchers.size(); i != e; ++i) { in getTypedMatcher()
141 if (Ops.canConstructFrom(Matchers[i], IsExactMatch)) { in getTypedMatcher()
148 Found = &Matchers[i]; in getTypedMatcher()
162 for (const DynTypedMatcher &Matcher : Matchers) { in isConvertibleTo()
174 const std::vector<DynTypedMatcher> Matchers; member in clang::ast_matchers::dynamic::VariantMatcher::PolymorphicPayload
[all …]
HDMarshallers.h238 std::vector<DynTypedMatcher> Matchers;
239 mergePolyMatchers(PolyMatcher, Matchers, typename T::ReturnTypes());
240 VariantMatcher Out = VariantMatcher::PolymorphicMatcher(std::move(Matchers));
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
HDVariantValue.h145 PolymorphicMatcher(std::vector<DynTypedMatcher> Matchers);
258 VariantValue(const VariantMatcher &Matchers);
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchFinder.h215 MatchersByType Matchers;