• Home
  • Raw
  • Download

Lines Matching refs:BN

648   auto BN = ast_matchers::match(  in TEST()  local
653 EXPECT_EQ(BN.size(), 1u); in TEST()
656 BN[0].getNodeAs<Decl>("ctor")), in TEST()
664 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("ctor")), in TEST()
691 auto BN = ast_matchers::match(functionDecl(hasName("foo")).bind("fn"), in TEST() local
693 EXPECT_EQ(BN.size(), 1u); in TEST()
696 BN[0].getNodeAs<Decl>("fn")), in TEST()
704 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("fn")), in TEST()
790 auto BN = ast_matchers::match(functionDecl(hasName(name)).bind("fn"), in TEST() local
792 EXPECT_EQ(BN.size(), 1u); in TEST()
793 return BN[0].getNodeAs<Decl>("fn"); in TEST()
977 auto BN = ast_matchers::match( in TEST() local
980 EXPECT_EQ(BN.size(), 1u); in TEST()
981 return BN[0].getNodeAs<LambdaExpr>("lambda"); in TEST()
1155 auto BN = ast_matchers::match( in TEST() local
1158 EXPECT_EQ(BN.size(), 1u); in TEST()
1160 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("rec")), in TEST()
1184 BN[0].getNodeAs<Decl>("rec")), in TEST()
1201 auto BN = ast_matchers::match( in TEST() local
1205 EXPECT_EQ(BN.size(), 1u); in TEST()
1207 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("rec")), in TEST()
1267 BN[0].getNodeAs<Decl>("rec")), in TEST()
1277 auto BN = ast_matchers::match(functionDecl(hasName("forLoop")).bind("func"), in TEST() local
1279 EXPECT_EQ(BN.size(), 1u); in TEST()
1281 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("func")), in TEST()
1350 BN[0].getNodeAs<Decl>("func")), in TEST()
1371 auto BN = ast_matchers::match( in TEST() local
1375 EXPECT_EQ(BN.size(), 1u); in TEST()
1377 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("rec")), in TEST()
1409 BN[0].getNodeAs<Decl>("rec")), in TEST()
1426 auto BN = ast_matchers::match( in TEST() local
1430 EXPECT_EQ(BN.size(), 1u); in TEST()
1432 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<CallExpr>("funcCall")), in TEST()
1441 BN[0].getNodeAs<CallExpr>("funcCall")), in TEST()
1497 auto BN = ast_matchers::match( in TEST() local
1500 EXPECT_EQ(BN.size(), 1u); in TEST()
1503 BN[0].getNodeAs<Decl>("rec")), in TEST()
1516 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("rec")), in TEST()
1585 auto BN = ast_matchers::match( in TEST() local
1591 EXPECT_EQ(BN.size(), 1u); in TEST()
1593 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("templSpec")), in TEST()
1610 BN[0].getNodeAs<Decl>("templSpec")), in TEST()
1626 auto BN = ast_matchers::match( in TEST() local
1629 EXPECT_EQ(BN.size(), 1u); in TEST()
1632 BN[0].getNodeAs<Decl>("fn")), in TEST()
1645 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("fn")), in TEST()
1702 auto BN = ast_matchers::match( in TEST() local
1710 EXPECT_EQ(BN.size(), 1u); in TEST()
1713 BN[0].getNodeAs<Decl>("rec")), in TEST()
1720 EXPECT_EQ(dumpASTString(TK_AsIs, BN[0].getNodeAs<Decl>("rec")), in TEST()