Lines Matching refs:ToFriend
2756 auto *ToFriend = cast<FunctionDecl>(Import(FromFriend, Lang_CXX03)); in TEST_P() local
2757 auto ToName = ToFriend->getDeclName(); in TEST_P()
2768 ToFriend = FirstDeclMatcher<FunctionDecl>().match(ToTU, FunctionPattern); in TEST_P()
2770 EXPECT_TRUE(ToFriend->isInIdentifierNamespace(Decl::IDNS_OrdinaryFriend)); in TEST_P()
2771 EXPECT_FALSE(ToFriend->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2812 auto *ToFriend = LastDeclMatcher<FunctionDecl>().match(ToTU, FunctionPattern); in TEST_P() local
2815 EXPECT_TRUE(ToFriend->isInIdentifierNamespace(Decl::IDNS_OrdinaryFriend)); in TEST_P()
2816 EXPECT_TRUE(ToFriend->isInIdentifierNamespace(Decl::IDNS_Ordinary)); in TEST_P()
2885 auto *ToFriend = FirstDeclMatcher<FriendDecl>().match(ToTU, friendDecl()); in TEST_P() local
2889 EXPECT_EQ(Fr, ToFriend); in TEST_P()
3991 auto *ToFriend = FirstDeclMatcher<FriendDecl>().match(ToTu, friendDecl()); in TEST_P() local
3993 const_cast<RecordDecl *>(getRecordDeclOfFriend(ToFriend)); in TEST_P()