Home
last modified time | relevance | path

Searched refs:FromDC (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/AST/
DASTImporter.h135 DeclContext *ImportContext(DeclContext *FromDC);
/external/clang/lib/AST/
DASTImporter.cpp89 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);
2089 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument
2091 Importer.ImportContext(FromDC); in ImportDeclContext()
2095 for (auto *From : FromDC->decls()) in ImportDeclContext()
6144 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument
6145 if (!FromDC) in ImportContext()
6146 return FromDC; in ImportContext()
6148 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
6155 RecordDecl *FromRecord = cast<RecordDecl>(FromDC); in ImportContext()
6165 EnumDecl *FromEnum = cast<EnumDecl>(FromDC); in ImportContext()
[all …]
/external/clang/lib/Sema/
DSemaAccess.cpp265 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local
267 if (FromDC == ToDC) return true; in MightInstantiateTo()
268 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()