reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h
  253 SmallVector<BoundNodes, 1> match(MatcherT Matcher, ASTContext &Context);

References

tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
   39       match(recordDecl(hasName(RecordName), isDefinition()).bind("recordDecl"),
  292            match(initListExpr(hasType(equalsNode(RD))).bind("initListExpr"),
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
   36   auto Matches = match(declRefExpr(to(functionDecl(equalsNode(&Function))),
tools/clang/unittests/AST/ASTImporterTest.cpp
   81     auto FoundNodes = match(SearchMatcher, FromCtx);
  222       auto FoundDecl = match(Action.ImportPredicate.bind(DeclToImportID),
  233     auto FoundDecl = match(FinalSelectPredicate.bind(DeclToVerifyID),
 1269   auto ToResults = match(chooseExpr().bind("choose"), To->getASTContext());
 1270   auto FromResults = match(chooseExpr().bind("choose"), From->getASTContext());
tools/clang/unittests/AST/ASTTraverserTest.cpp
   90   auto Result = ast_matchers::match(functionDecl(hasName(Name)).bind("fn"),
  213   auto Result = ast_matchers::match(
tools/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
  171       "x", match(pointerType().bind("x"), AST->getASTContext()));
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
  107       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  117       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  131       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  142       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  152       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  157   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  164   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  172       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  180       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  188       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  195       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  199   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  204   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  209   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  213   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  218   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  224   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  231       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  235   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  240   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  245   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  250   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  256   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  263       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  268   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  273   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  280   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  285   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  290   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  295   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  299   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  303   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  309   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  316       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  321   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  326   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  334   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  339   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  344   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  349   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  357       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  363   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  369   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  375   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  384       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  389   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  394   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  399   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  407       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  412   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  417   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  424   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  430   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  437   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  444   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  450   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  455   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  461   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  470       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  476   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  486       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  492   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  498   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  504   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  511   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  518   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  524   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  530   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  537       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  541   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  546   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  553       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  560       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  568       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  577       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  584       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  592       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  605       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  608       match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  617       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  625   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  635       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  639   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  646   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  654       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  662       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  670       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  677   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  684   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  686   Results = match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  693   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  695   Results = match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  700   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  706   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  712   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  722   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  730       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  735   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  740   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  745   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  752   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  757   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  763   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  769   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  779   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  786       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  793       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  802       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  808   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  815   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  824       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  829   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  836   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  844       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  852       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  858   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  867       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  875       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  880   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  889       match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  898       match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  908       match(withEnclosingCompound(declRefTo("o2")), AST->getASTContext());
  918       match(withEnclosingCompound(declRefTo("o2")), AST->getASTContext());
  928       match(withEnclosingCompound(declRefTo("o1")), AST->getASTContext());
  938       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  944   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  955       match(withEnclosingCompound(declRefTo("o1")), AST->getASTContext());
  966       match(withEnclosingCompound(declRefTo("o1")), AST->getASTContext());
  974       match(withEnclosingCompound(declRefTo("y")), AST->getASTContext());
  983       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
  993       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1011       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1018       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1025       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1032       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1040       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1049       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1054   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1062       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1069       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1074   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1080   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1088       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1093   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1102       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1110       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1119       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1128       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1135       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1139   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1143   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1147   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1151   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1155   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1161   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1166   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1173       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1181   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1200       match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1204   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1209   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1214   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1220   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1226   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1232   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1238   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
 1258       match(withEnclosingCompound(declRefTo("x")), AST11->getASTContext());
tools/clang/unittests/Tooling/RangeSelectorTest.cpp
   49   auto Matches = ast_matchers::match(Matcher, Context);
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp
   60   auto Matches = ast_matchers::match(wrapMatcher(Matcher), Context);
tools/clang/unittests/Tooling/StencilTest.cpp
   64   auto Matches = ast_matchers::match(wrapMatcher(Matcher), Context);