Searched refs:FromTU (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 150 Decl *FromTU; member 842 Decl *FromTU = in TEST_P() local 859 Decl *FromTU = in TEST_P() local 1073 Decl *FromTU = in TEST_P() local 1084 Decl *FromTU = in TEST_P() local 1967 Decl *FromTU = in TEST_P() local 5377 FromTU, in TEST_P() 7079 FromTU, in TEST_P() 7253 FromTU, in TEST_P() 7259 FromTU, in TEST_P() [all …]
|
| H A D | ASTImporterGenericRedeclTest.cpp | 183 Decl *FromTU = getTuDecl(getPrototype(), Lang_CXX03); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() local 184 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() 200 Decl *FromTU = getTuDecl(getDefinition(), Lang_CXX03); in TypedTest_DefinitionShouldBeImportedAsADefinition() local 201 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_DefinitionShouldBeImportedAsADefinition() 216 Decl *FromTU = getTuDecl(getPrototype() + getPrototype(), Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedPrototype() local 217 auto *From0 = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedPrototype() 218 auto *From1 = LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeAfterImportedPrototype() 240 auto *FromDef = LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportDefinitionAfterImportedPrototype() 379 LastDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_WholeRedeclChainIsImportedAtOnce() 392 Decl *FromTU = getTuDecl(getPrototype(), Lang_CXX03, "input0.cc"); in TypedTest_ImportPrototypeThenProtoAndDefinition() local [all …]
|
| H A D | ASTImporterFixtures.cpp | 149 TU &FromTU = FromTUs.back(); in getImportedDecl() local 154 ASTContext &FromCtx = FromTU.Unit->getASTContext(); in getImportedDecl() 167 FromTU.import(SharedStatePtr, ToAST.get(), FoundDecls.front()); in getImportedDecl() 197 TU *FromTU = findFromTU(From); in Import() local 199 Decl *To = FromTU->import(SharedStatePtr, ToAST.get(), From); in Import() 206 TU *FromTU = findFromTU(From); in importOrError() local 209 FromTU->importOrError(SharedStatePtr, ToAST.get(), From); in importOrError() 216 TU *FromTU = findFromTU(TUDecl); in ImportType() local 218 return FromTU->import(SharedStatePtr, ToAST.get(), FromType); in ImportType()
|
| H A D | ASTImporterObjCTest.cpp | 28 Decl *FromTU = getTuDecl(R"( in TEST_P() local 41 FromTU, namedDecl(hasName("method"))); in TEST_P() 54 Decl *FromTU = getTuDecl(R"( in TEST_P() local 62 FromTU, namedDecl(hasName("DupProp"))); in TEST_P()
|
| H A D | ASTImporterODRStrategiesTest.cpp | 263 Decl *FromTU = getTuDecl(FromTUContent(), getLang()); in TypedTest_ImportAfter() local 264 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportAfter()
|
| H A D | StructuralEquivalenceTest.cpp | 778 auto *FromTU = get<0>(t); in TEST_F() local 780 FirstDeclMatcher<FieldDecl>().match(FromTU, fieldDecl(hasName("entry1"))); in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 26 enum RootDeclOrigin { TopLevel = 0, FromTU = 1, IsLate = 2 }; enumerator 105 if (!(RDO & FromTU)) in WriteNamedDecl() 279 HandleNamedDecl(FD, Symbols, (FromTU | IsLate)); in HandleTranslationUnit() 284 HandleNamedDecl(ND, Symbols, FromTU); in HandleTranslationUnit() 286 HandleNamedDecl(ND, Symbols, FromTU); in HandleTranslationUnit()
|