Searched refs:ToTu (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterVisibilityTest.cpp | 245 TranslationUnitDecl *ToTu = getToTuDecl(getCode0(), Lang_CXX14); in TypedTest_ImportAfter() local 249 auto *ToD0 = FirstDeclMatcher<DeclTy>().match(ToTu, getPattern()); in TypedTest_ImportAfter() 283 TranslationUnitDecl *ToTu = getToTuDecl(getCode0(), Lang_CXX14); in TypedTest_ImportAfterWithMerge() local 287 auto *ToF0 = FirstDeclMatcher<DeclTy>().match(ToTu, getPattern()); in TypedTest_ImportAfterWithMerge() 301 EXPECT_EQ(0u, ToTu->getASTContext().getDiagnostics().getNumWarnings()); in TypedTest_ImportAfterWithMerge()
|
D | ASTImporterTest.cpp | 3642 Decl *ToTu = ToX->getTranslationUnitDecl(); in TEST_P() local 3643 auto *ToFriend = FirstDeclMatcher<FriendDecl>().match(ToTu, friendDecl()); in TEST_P() 3647 ASSERT_EQ(ToRecordOfFriend->getDeclContext(), cast<DeclContext>(ToTu)); in TEST_P() 3852 Decl *ToTu = getToTuDecl(Code, Lang_CXX03); in TEST_P() local 3855 auto *ToFriend1 = FirstDeclMatcher<FriendDecl>().match(ToTu, friendDecl()); in TEST_P() 3856 auto *ToFriend2 = LastDeclMatcher<FriendDecl>().match(ToTu, friendDecl()); in TEST_P() 3877 Decl *ToTu = getToTuDecl(Code, Lang_CXX03); in TEST_P() local 3880 auto *ToFriend1 = FirstDeclMatcher<FriendDecl>().match(ToTu, friendDecl()); in TEST_P() 3881 auto *ToFriend2 = LastDeclMatcher<FriendDecl>().match(ToTu, friendDecl()); in TEST_P()
|