Home
last modified time | relevance | path

Searched refs:FromTu (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/unittests/AST/
DASTImporterVisibilityTest.cpp123 TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_CXX14, "input0.cc"); in TypedTest_ImportChain() local
125 auto *FromD0 = FirstDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain()
126 auto *FromD1 = LastDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain()
246 TranslationUnitDecl *FromTu = in TypedTest_ImportAfter() local
250 auto *FromD1 = FirstDeclMatcher<DeclTy>().match(FromTu, getPattern()); in TypedTest_ImportAfter()
284 TranslationUnitDecl *FromTu = in TypedTest_ImportAfterWithMerge() local
288 auto *FromF1 = FirstDeclMatcher<DeclTy>().match(FromTu, getPattern()); in TypedTest_ImportAfterWithMerge()
DASTImporterTest.cpp2103 TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_C99, "input0.c"); in TEST_P() local
2105 auto *From0 = FirstDeclMatcher<VarDecl>().match(FromTu, Pattern); in TEST_P()
2106 auto *From1 = LastDeclMatcher<VarDecl>().match(FromTu, Pattern); in TEST_P()
2118 TranslationUnitDecl *FromTu = in TEST_P() local
2124 auto *FromF0 = FirstDeclMatcher<FunctionDecl>().match(FromTu, Pattern); in TEST_P()
2125 auto *FromF1 = LastDeclMatcher<FunctionDecl>().match(FromTu, Pattern); in TEST_P()
3603 Decl *FromTu = getTuDecl( in TEST_P() local
3612 FromTu, cxxRecordDecl(hasName("declToImport"))); in TEST_P()
3620 Decl *FromTu = in TEST_P() local
3623 FromTu, cxxRecordDecl(hasName("X"))); in TEST_P()
[all …]