Home
last modified time | relevance | path

Searched refs:ImportD (Results 1 – 5 of 5) sorted by relevance

/external/clang/tools/libclang/
DIndexingContext.cpp261 void IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule() argument
265 Module *Mod = ImportD->getImportedModule(); in importedModule()
273 getIndexLoc(ImportD->getLocation()), in importedModule()
274 ImportD->isImplicit() in importedModule()
DIndexingContext.h372 void importedModule(const ImportDecl *ImportD);
DCIndex.cpp3690 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling() local
3691 if (Module *Mod = ImportD->getImportedModule()) in getDeclSpelling()
3930 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange() local
3932 ArrayRef<SourceLocation> Locs = ImportD->getIdentifierLocs(); in clang_Cursor_getSpellingNameRange()
6966 if (const ImportDecl *ImportD = in clang_Cursor_getModule() local
6968 return ImportD->getImportedModule(); in clang_Cursor_getModule()
/external/clang/lib/Frontend/
DASTUnit.cpp810 if (ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) { in AddTopLevelDeclarationToHash() local
811 if (Module *Mod = ImportD->getImportedModule()) { in AddTopLevelDeclarationToHash()
/external/clang/lib/Sema/
DSemaDecl.cpp14663 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in ActOnModuleInclude() local
14666 TU->addDecl(ImportD); in ActOnModuleInclude()
14667 Consumer.HandleImplicitImportDecl(ImportD); in ActOnModuleInclude()
14700 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery() local
14702 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
14703 Consumer.HandleImplicitImportDecl(ImportD); in createImplicitModuleImportForErrorRecovery()