Lines Matching refs:forEachDescendant
704 functionDecl(forEachDescendant(
720 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))),
3038 TEST(ForEachDescendant, BindsOneNode) {
3041 forEachDescendant(fieldDecl(hasName("x")).bind("x"))),
3045 TEST(ForEachDescendant, NestedForEachDescendant) {
3050 recordDecl(hasName("A"), anyOf(m, forEachDescendant(m))),
3062 TEST(ForEachDescendant, BindsMultipleNodes) {
3066 recordDecl(hasName("C"), forEachDescendant(fieldDecl().bind("f"))),
3070 TEST(ForEachDescendant, BindsRecursiveCombinations) {
3074 recordDecl(hasName("C"), forEachDescendant(recordDecl(
3075 forEachDescendant(fieldDecl().bind("f"))))),
3079 TEST(ForEachDescendant, BindsCombinations) {
3083 compoundStmt(forEachDescendant(ifStmt().bind("if")),
3084 forEachDescendant(whileStmt().bind("while"))),
3118 anyOf(forEachDescendant(recordDecl(hasName("Y"))), anything())),
3190 TEST(ForEachDescendant, BindsCorrectNodes) {
3193 recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))),
3197 recordDecl(hasName("C"), forEachDescendant(decl().bind("decl"))),
3935 forEachDescendant(nestedNameSpecifier().bind("x"))),
3978 forEachDescendant(nestedNameSpecifierLoc().bind("x"))),
4181 forEachDescendant(varDecl(hasType(
4195 hasName("f"), forEachDescendant(varDecl().bind("d")),
4196 forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d")))))),