Searched refs:FirstDeclMatcher (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 3735 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 D | ASTImporterGenericRedeclTest.cpp | 169 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 D | StructuralEquivalenceTest.cpp | 46 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 D | ASTImporterVisibilityTest.cpp | 125 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 D | ASTImporterObjCTest.cpp | 61 auto *FromClass = FirstDeclMatcher<ObjCInterfaceDecl>().match( in TEST_P()
|
| H A D | DeclMatcher.h | 43 using FirstDeclMatcher = DeclMatcher<NodeType, DeclMatcherKind::First>; variable
|
| H A D | ASTImporterODRStrategiesTest.cpp | 261 auto *ToD = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportAfter() 264 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportAfter()
|
| H A D | RandstructTest.cpp | 44 RecordDecl *RD = FirstDeclMatcher<RecordDecl>().match( in getRecordDeclFromAST()
|