Searched refs:ImportD (Results 1 – 6 of 6) sorted by relevance
261 void IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule() argument265 Module *Mod = ImportD->getImportedModule(); in importedModule()273 getIndexLoc(ImportD->getLocation()), in importedModule()274 ImportD->isImplicit() in importedModule()
372 void importedModule(const ImportDecl *ImportD);
3531 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling() local3532 if (Module *Mod = ImportD->getImportedModule()) in getDeclSpelling()3758 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange() local3760 ArrayRef<SourceLocation> Locs = ImportD->getIdentifierLocs(); in clang_Cursor_getSpellingNameRange()6703 if (const ImportDecl *ImportD = in clang_Cursor_getModule() local6705 return ImportD->getImportedModule(); in clang_Cursor_getModule()
1653 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in loadModule() local1656 TU->addDecl(ImportD); in loadModule()1658 Consumer->HandleImplicitImportDecl(ImportD); in loadModule()
806 if (ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) { in AddTopLevelDeclarationToHash() local807 if (Module *Mod = ImportD->getImportedModule()) { in AddTopLevelDeclarationToHash()
14061 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery() local14063 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()14064 Consumer.HandleImplicitImportDecl(ImportD); in createImplicitModuleImportForErrorRecovery()