Lines Matching refs:FromD
85 void ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD = nullptr);
1856 void ASTNodeImporter::ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD) { in ImportDefinitionIfNeeded() argument
1857 if (!FromD) in ImportDefinitionIfNeeded()
1861 ToD = Importer.Import(FromD); in ImportDefinitionIfNeeded()
1866 if (RecordDecl *FromRecord = dyn_cast<RecordDecl>(FromD)) { in ImportDefinitionIfNeeded()
1875 if (EnumDecl *FromEnum = dyn_cast<EnumDecl>(FromD)) { in ImportDefinitionIfNeeded()
4661 Decl *ASTImporter::Import(Decl *FromD) { in Import() argument
4662 if (!FromD) in Import()
4668 llvm::DenseMap<Decl *, Decl *>::iterator Pos = ImportedDecls.find(FromD); in Import()
4671 Importer.ImportDefinitionIfNeeded(FromD, ToD); in Import()
4676 Decl *ToD = Importer.Visit(FromD); in Import()
4681 ImportedDecls[FromD] = ToD; in Import()
4683 if (TagDecl *FromTag = dyn_cast<TagDecl>(FromD)) { in Import()
4687 } else if (TypedefNameDecl *FromTypedef = dyn_cast<TypedefNameDecl>(FromD)) { in Import()