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

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

Completed in 119 milliseconds