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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 2867     forEachDescendant;

References

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 2887   return eachOf(Matcher, forEachDescendant(Matcher));
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  222   REGISTER_MATCHER(forEachDescendant);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  367       stmt(forEachDescendant(
tools/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
  100       forEachDescendant(
  102       forEachDescendant(binaryOperator(bindAssignmentToDecl(SemaphoreBinding),
  118     forEachDescendant(
  124   auto SemaphoreWaitM = forEachDescendant(
  142       forEachDescendant(
  144       forEachDescendant(binaryOperator(bindAssignmentToDecl(GroupBinding),
  147   auto GroupEnterM = forEachDescendant(
  164     forEachDescendant(
  170   auto GroupWaitM = forEachDescendant(
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  341   F.addMatcher(stmt(forEachDescendant(FinalM)), &CB);
tools/clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
   78   auto Matches = match(stmt(forEachDescendant(CastM)), *D->getBody(), AM.getASTContext());
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp
  180       forEachDescendant(
  194       forEachDescendant(BlockPassedToMarkedFuncM));
tools/clang/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp
   79   return decl(forEachDescendant(PointerIterM));
tools/clang/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp
   92   return decl(forEachDescendant(PointerSortM));
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
   57                forEachDescendant(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
   45       match(decl(forEachDescendant(declRefExpr(
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp
   85       match(decl(forEachDescendant(expr(
   97   Matches = match(decl(forEachDescendant(callExpr(UsedAsConstRefOrValueArg))),
  101       match(decl(forEachDescendant(cxxConstructExpr(UsedAsConstRefOrValueArg))),
  132       decl(forEachDescendant(
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 2337                  forEachDescendant(varDecl(hasType(
 2351       hasName("f"), forEachDescendant(varDecl().bind("d")),
 2352       forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d")))))),
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
   81     functionDecl(forEachDescendant(
   97     qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))),
  712       forEachDescendant(varDecl().bind("v")),
  713       forEachDescendant(callExpr(forEachArgumentWithParam(
 1917                                                   forEachDescendant(fieldDecl(hasName("x")).bind("x"))),
 1926     recordDecl(hasName("A"), anyOf(m, forEachDescendant(m))),
 1942     recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))),
 1950     recordDecl(hasName("C"), forEachDescendant(recordDecl(
 1951       forEachDescendant(fieldDecl().bind("f"))))),
 1959     compoundStmt(forEachDescendant(ifStmt().bind("if")),
 1960                  forEachDescendant(whileStmt().bind("while"))),
 1994       anyOf(forEachDescendant(recordDecl(hasName("Y"))), anything())),
 2069     recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))),
 2073     recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))),
 2416                  forEachDescendant(nestedNameSpecifier().bind("x"))),
 2459                  forEachDescendant(nestedNameSpecifierLoc().bind("x"))),