Home
last modified time | relevance | path

Searched defs:FromD (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp1439 auto *FromD = FirstDeclMatcher<ClassTemplateDecl>().match( in TEST_P() local
1454 FunctionDecl *FromD = FirstDeclMatcher<FunctionDecl>().match( in TEST_P() local
1491 ClassTemplateDecl *FromD = FirstDeclMatcher<ClassTemplateDecl>().match( in TEST_P() local
1525 auto *FromD = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_P() local
1558 auto FromD = FirstDeclMatcher<FunctionDecl>().match(FromTU, functionDecl()); in TEST_P() local
1585 auto FromD = FirstDeclMatcher<FunctionDecl>().match(FromTU, functionDecl()); in TEST_P() local
1625 auto *FromD = FirstDeclMatcher<ClassTemplateSpecializationDecl>().match( in TEST_P() local
1726 auto *FromD = FirstDeclMatcher<VarDecl>().match(FromTU, Pattern); in TEST_P() local
1732 auto *FromD = FirstDeclMatcher<VarDecl>().match(FromTU, Pattern); in TEST_P() local
1740 auto *FromD = FirstDeclMatcher<FunctionDecl>().match( in TEST_P() local
[all …]
DASTImporterGenericRedeclTest.cpp184 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() local
201 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_DefinitionShouldBeImportedAsADefinition() local
378 auto *FromD = // Definition in TypedTest_WholeRedeclChainIsImportedAtOnce() local
393 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeThenProtoAndDefinition() local
399 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportPrototypeThenProtoAndDefinition() local
DASTImporterODRStrategiesTest.cpp264 auto *FromD = FirstDeclMatcher<DeclTy>().match(FromTU, getPattern()); in TypedTest_ImportAfter() local
/external/llvm-project/clang/include/clang/AST/
DASTImporter.h384 llvm::Expected<const Decl *> Import(const Decl *FromD) { in Import()
405 auto *FromD = dyn_cast<DeclT>(FromI->second); in getImportedFromDecl() local
/external/llvm-project/clang/lib/AST/
DExternalASTMerger.cpp126 llvm::Expected<Decl *> ImportImpl(Decl *FromD) override { in ImportImpl()
DASTImporter.cpp222 LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD, in GetImportedOrCreateDecl()
238 LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD, in GetImportedOrCreateDecl()
250 FromDeclT *FromD, Args &&... args) { in GetImportedOrCreateSpecialDecl()
265 void InitializeImportedDecl(Decl *FromD, Decl *ToD) { in InitializeImportedDecl()
293 void addDeclToContexts(Decl *FromD, Decl *ToD) { in addDeclToContexts()
1650 Error ASTNodeImporter::ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD) { in ImportDefinitionIfNeeded()
1853 Decl *FromD, DeclContext *&ToDC, DeclContext *&ToLexicalDC) { in ImportDeclContext()
2992 Error ASTNodeImporter::ImportTemplateParameterLists(const DeclaratorDecl *FromD, in ImportTemplateParameterLists()
8046 Expected<Decl *> ASTImporter::ImportImpl(Decl *FromD) { in ImportImpl()
8052 void ASTImporter::RegisterImportedDecl(Decl *FromD, Decl *ToD) { in RegisterImportedDecl()
[all …]
/external/clang/lib/AST/
DASTImporter.cpp2026 void ASTNodeImporter::ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD) { in ImportDefinitionIfNeeded()
6086 Decl *ASTImporter::GetAlreadyImportedOrNull(Decl *FromD) { in GetAlreadyImportedOrNull()
6097 Decl *ASTImporter::Import(Decl *FromD) { in Import()