Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/AST/
H A 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()
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()
367 auto *ToDef = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypeThenDefinition()
[all …]
H A 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()
2533 auto *FromD = LastDeclMatcher<FunctionDecl>().match( in TEST_P()
3701 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match( in TEST_P()
3727 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match( in TEST_P()
3758 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match( in TEST_P()
5376 auto *FromDef = LastDeclMatcher<CXXRecordDecl>().match( in TEST_P()
6293 CXXRecordDecl *FromL = LastDeclMatcher<LambdaExpr>() in TEST_P()
7258 auto *From2 = LastDeclMatcher<ClassTemplateDecl>().match( in TEST_P()
[all …]
H A DASTImporterObjCTest.cpp40 auto *FromMethod = LastDeclMatcher<ObjCMethodDecl>().match( in TEST_P()
H A DDeclMatcher.h41 using LastDeclMatcher = DeclMatcher<NodeType, DeclMatcherKind::Last>; variable
H A DASTImporterVisibilityTest.cpp126 auto *FromD1 = LastDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain()
H A DStructuralEquivalenceTest.cpp265 LastDeclMatcher<NamespaceDecl>().match(get<1>(Decls), namespaceDecl()); in TEST_F()
266 ClassTemplateDecl *TD = LastDeclMatcher<ClassTemplateDecl>().match( in TEST_F()