Home
last modified time | relevance | path

Searched refs:FirstDeclMatcher (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp3735 auto *ToD = FirstDeclMatcher<VarDecl>().match( in TEST_P()
3766 auto *ToD = FirstDeclMatcher<VarDecl>().match( in TEST_P()
5643 FirstDeclMatcher<ClassTemplateDecl>().match( in TEST_P()
5649 FirstDeclMatcher<FriendDecl>().match( in TEST_P()
7354 FirstDeclMatcher<UsingShadowDecl>().match( in TEST_P()
7358 FirstDeclMatcher<UsingShadowDecl>().match( in TEST_P()
7427 FirstDeclMatcher<UsingShadowDecl>().match( in TEST_P()
7431 FirstDeclMatcher<UsingShadowDecl>().match( in TEST_P()
7435 FirstDeclMatcher<UsingShadowDecl>().match( in TEST_P()
7439 FirstDeclMatcher<UsingShadowDecl>().match( in TEST_P()
[all …]
H A DASTImporterGenericRedeclTest.cpp169 auto *TemplateD = FirstDeclMatcher<FunctionTemplateDecl>().match( in CheckPreviousDecl()
184 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
201 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_DefinitionShouldBeImportedAsADefinition()
217 auto *From0 = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedPrototype()
227 auto *To0 = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedPrototype()
271 auto *ToDef = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedDefinition()
294 auto *To0 = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportPrototypes()
318 auto *To0 = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportDefinitions()
331 FirstDeclMatcher<DeclTy>().match(FromTUProto, getPattern()); in TypedTest_ImportDefinitionThenPrototype()
341 auto *ToDef = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportDefinitionThenPrototype()
[all …]
H A DStructuralEquivalenceTest.cpp46 NodeType *D0 = FirstDeclMatcher<NodeType>().match( in makeDecls()
48 NodeType *D1 = FirstDeclMatcher<NodeType>().match( in makeDecls()
103 Stmt *S0 = FirstDeclMatcher<Stmt>().match( in makeStmts()
105 Stmt *S1 = FirstDeclMatcher<Stmt>().match( in makeStmts()
280 CXXRecordDecl *RD = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_F()
706 auto *A = FirstDeclMatcher<IndirectFieldDecl>().match( in TEST_F()
710 auto *B = FirstDeclMatcher<IndirectFieldDecl>().match( in TEST_F()
739 auto *A = FirstDeclMatcher<IndirectFieldDecl>().match( in TEST_F()
745 auto *A1 = FirstDeclMatcher<IndirectFieldDecl>().match( in TEST_F()
1710 NodeType *D0 = FirstDeclMatcher<NodeType>().match(get<0>(TU), M); in findDeclPair()
[all …]
H A DASTImporterVisibilityTest.cpp125 auto *FromD0 = FirstDeclMatcher<DeclTy>().match(FromTu, Pattern); in TypedTest_ImportChain()
249 auto *ToD0 = FirstDeclMatcher<DeclTy>().match(ToTu, getPattern()); in TypedTest_ImportAfter()
250 auto *FromD1 = FirstDeclMatcher<DeclTy>().match(FromTu, getPattern()); in TypedTest_ImportAfter()
269 auto *FromD0 = FirstDeclMatcher<DeclTy>().match(FromTu0, getPattern()); in TypedTest_ImportAfterImport()
270 auto *FromD1 = FirstDeclMatcher<DeclTy>().match(FromTu1, getPattern()); in TypedTest_ImportAfterImport()
287 auto *ToF0 = FirstDeclMatcher<DeclTy>().match(ToTu, getPattern()); in TypedTest_ImportAfterWithMerge()
288 auto *FromF1 = FirstDeclMatcher<DeclTy>().match(FromTu, getPattern()); in TypedTest_ImportAfterWithMerge()
309 auto *FromF0 = FirstDeclMatcher<DeclTy>().match(FromTu0, getPattern()); in TypedTest_ImportAfterImportWithMerge()
310 auto *FromF1 = FirstDeclMatcher<DeclTy>().match(FromTu1, getPattern()); in TypedTest_ImportAfterImportWithMerge()
H A DASTImporterObjCTest.cpp61 auto *FromClass = FirstDeclMatcher<ObjCInterfaceDecl>().match( in TEST_P()
H A DDeclMatcher.h43 using FirstDeclMatcher = DeclMatcher<NodeType, DeclMatcherKind::First>; variable
H A DASTImporterODRStrategiesTest.cpp261 auto *ToD = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportAfter()
264 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportAfter()
H A DRandstructTest.cpp44 RecordDecl *RD = FirstDeclMatcher<RecordDecl>().match( in getRecordDeclFromAST()