Searched refs:FromD (Results 1 – 2 of 2) sorted by relevance
123 Decl *Import(Decl *FromD);128 Decl *GetAlreadyImportedOrNull(Decl *FromD);
86 void ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD = nullptr);2026 void ASTNodeImporter::ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD) { in ImportDefinitionIfNeeded() argument2027 if (!FromD) in ImportDefinitionIfNeeded()2031 ToD = Importer.Import(FromD); in ImportDefinitionIfNeeded()2036 if (RecordDecl *FromRecord = dyn_cast<RecordDecl>(FromD)) { in ImportDefinitionIfNeeded()2045 if (EnumDecl *FromEnum = dyn_cast<EnumDecl>(FromD)) { in ImportDefinitionIfNeeded()6086 Decl *ASTImporter::GetAlreadyImportedOrNull(Decl *FromD) { in GetAlreadyImportedOrNull() argument6087 llvm::DenseMap<Decl *, Decl *>::iterator Pos = ImportedDecls.find(FromD); in GetAlreadyImportedOrNull()6090 ASTNodeImporter(*this).ImportDefinitionIfNeeded(FromD, ToD); in GetAlreadyImportedOrNull()6097 Decl *ASTImporter::Import(Decl *FromD) { in Import() argument[all …]