Home | History | Annotate | Download | only in ASTMatchers

Lines Matching defs:Name

685   auto Name = hasName("i");
686 auto VD = internal::Matcher<VarDecl>(Name).dynCastTo<Decl>();
687 auto RD = internal::Matcher<RecordDecl>(Name).dynCastTo<Decl>();
734 // Checks that there was exactly one match with the name \c ExpectedName.
745 EXPECT_EQ(ExpectedName, Name);
747 Name.clear();
752 EXPECT_EQ("", Name);
760 Name = Named->getNameAsString();
763 llvm::raw_string_ostream OS(Name);
786 std::string Name;
2698 // be checking the member (name) only.
3561 // Make sure that we can both match the class by name (::X) and by the type
4553 "int i = 1;", varDecl(namedDecl(hasName("i")).bind("name"),