Home
last modified time | relevance | path

Searched refs:ImportD (Results 1 – 6 of 6) 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.cpp3531 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling() local
3532 if (Module *Mod = ImportD->getImportedModule()) in getDeclSpelling()
3758 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange() local
3760 ArrayRef<SourceLocation> Locs = ImportD->getIdentifierLocs(); in clang_Cursor_getSpellingNameRange()
6703 if (const ImportDecl *ImportD = in clang_Cursor_getModule() local
6705 return ImportD->getImportedModule(); in clang_Cursor_getModule()
/external/clang/lib/Frontend/
DCompilerInstance.cpp1653 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in loadModule() local
1656 TU->addDecl(ImportD); in loadModule()
1658 Consumer->HandleImplicitImportDecl(ImportD); in loadModule()
DASTUnit.cpp806 if (ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) { in AddTopLevelDeclarationToHash() local
807 if (Module *Mod = ImportD->getImportedModule()) { in AddTopLevelDeclarationToHash()
/external/clang/lib/Sema/
DSemaDecl.cpp14061 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery() local
14063 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
14064 Consumer.HandleImplicitImportDecl(ImportD); in createImplicitModuleImportForErrorRecovery()