Home
last modified time | relevance | path

Searched refs:FromD (Results 1 – 2 of 2) sorted by relevance

/external/clang/include/clang/AST/
DASTImporter.h122 Decl *Import(Decl *FromD);
/external/clang/lib/AST/
DASTImporter.cpp85 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()
[all …]