Home
last modified time | relevance | path

Searched refs:LastDeclMatcher (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/unittests/AST/
DASTImporterGenericRedeclTest.cpp191 auto *ToD = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
208 auto *ToD = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_DefinitionShouldBeImportedAsADefinition()
218 auto *From1 = LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedPrototype()
228 auto *To1 = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedPrototype()
240 auto *FromDef = LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportDefinitionAfterImportedPrototype()
250 auto *ToDef = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportDefinitionAfterImportedPrototype()
262 auto *FromProto = LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedDefinition()
272 auto *ToProto = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedDefinition()
295 auto *To1 = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypes()
342 auto *ToProto = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportDefinitionThenPrototype()
[all …]
DASTImporterTest.cpp55 auto *D2 = LastDeclMatcher<FunctionDecl>().match(FromTU, Pattern); in TEST_P()
69 auto *D2 = LastDeclMatcher<FunctionDecl>().match(FromTU, Pattern); in TEST_P()
156 D2 = LastDeclMatcher<FunctionDecl>().match(FromTU, Pattern); in ImportPath()
1405 Decl *From = LastDeclMatcher<Decl>{}.match(FromTU, functionDecl()); in TEST_P()
1561 auto ToLHS = LastDeclMatcher<DeclRefExpr>().match(ToD, declRefExpr()); in TEST_P()
1562 auto FromLHS = LastDeclMatcher<DeclRefExpr>().match(FromTU, declRefExpr()); in TEST_P()
1563 auto ToRHS = LastDeclMatcher<IntegerLiteral>().match(ToD, integerLiteral()); in TEST_P()
1565 LastDeclMatcher<IntegerLiteral>().match(FromTU, integerLiteral()); in TEST_P()
1828 auto *To1 = LastDeclMatcher<FunctionDecl>().match(ToTU, Pattern); in TEST_P()
1839 LastDeclMatcher<FunctionDecl>().match(FromTU, Pattern); // Def in TEST_P()
[all …]
DDeclMatcher.h41 using LastDeclMatcher = DeclMatcher<NodeType, DeclMatcherKind::Last>; variable
DASTImporterVisibilityTest.cpp126 auto *FromD1 = LastDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain()
DStructuralEquivalenceTest.cpp265 LastDeclMatcher<NamespaceDecl>().match(get<1>(Decls), namespaceDecl()); in TEST_F()
266 ClassTemplateDecl *TD = LastDeclMatcher<ClassTemplateDecl>().match( in TEST_F()