Lines Matching defs:FromTu
2534 TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_C99, "input0.c");
2536 auto *From0 = FirstDeclMatcher<VarDecl>().match(FromTu, Pattern);
2537 auto *From1 = LastDeclMatcher<VarDecl>().match(FromTu, Pattern);
2549 TranslationUnitDecl *FromTu =
2555 auto *FromF0 = FirstDeclMatcher<FunctionDecl>().match(FromTu, Pattern);
2556 auto *FromF1 = LastDeclMatcher<FunctionDecl>().match(FromTu, Pattern);
4143 void testRecursiveFriendClassTemplate(Decl *FromTu) {
4145 FromTu, classTemplateDecl());
4161 ASSERT_EQ(FromDC, cast<DeclContext>(FromTu));
4196 Decl *FromTu = getTuDecl(Code, Lang_CXX03, "from.cc");
4201 FirstDeclMatcher<FriendDecl>().match(FromTu, friendDecl());
4203 LastDeclMatcher<FriendDecl>().match(FromTu, friendDecl());
4253 Decl *FromTu = getTuDecl(
4262 FromTu, cxxRecordDecl(hasName("declToImport")));
4270 Decl *FromTu =
4273 FromTu, cxxRecordDecl(hasName("X")));
4274 auto *FromFriend = FirstDeclMatcher<FriendDecl>().match(FromTu, friendDecl());
4278 ASSERT_EQ(FromRecordOfFriend->getDeclContext(), cast<DeclContext>(FromTu));
4309 Decl *FromTu = getTuDecl(
4317 testRecursiveFriendClassTemplate(FromTu);
4322 Decl *FromTu = getTuDecl(
4329 testRecursiveFriendClassTemplate(FromTu);