Home
last modified time | relevance | path

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

/external/clang/tools/c-index-test/
Dcore_main.cpp111 bool handleModuleOccurence(const ImportDecl *ImportD, SymbolRoleSet Roles, in handleModuleOccurence() argument
113 ASTContext &Ctx = ImportD->getASTContext(); in handleModuleOccurence()
120 printSymbolInfo(getSymbolInfo(ImportD), OS); in handleModuleOccurence()
123 OS << ImportD->getImportedModule()->getFullModuleName() << " | "; in handleModuleOccurence()
/external/clang/lib/Index/
DIndexingContext.cpp60 bool IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule() argument
62 auto IdLocs = ImportD->getIdentifierLocs(); in importedModule()
66 Loc = ImportD->getLocation(); in importedModule()
94 if (ImportD->isImplicit()) in importedModule()
97 return DataConsumer.handleModuleOccurence(ImportD, Roles, FID, Offset); in importedModule()
DIndexingContext.h80 bool importedModule(const ImportDecl *ImportD);
DIndexingAction.cpp35 bool IndexDataConsumer::handleModuleOccurence(const ImportDecl *ImportD, in handleModuleOccurence() argument
/external/clang/include/clang/Index/
DIndexDataConsumer.h51 virtual bool handleModuleOccurence(const ImportDecl *ImportD,
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp221 bool CXIndexDataConsumer::handleModuleOccurence(const ImportDecl *ImportD, in handleModuleOccurence() argument
225 IndexingDeclVisitor(*this, SourceLocation(), nullptr).Visit(ImportD); in handleModuleOccurence()
473 void CXIndexDataConsumer::importedModule(const ImportDecl *ImportD) { in importedModule() argument
477 Module *Mod = ImportD->getImportedModule(); in importedModule()
485 getIndexLoc(ImportD->getLocation()), in importedModule()
486 ImportD->isImplicit() in importedModule()
DCXIndexDataConsumer.h372 void importedModule(const ImportDecl *ImportD);
470 bool handleModuleOccurence(const ImportDecl *ImportD,
DCIndex.cpp4091 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling() local
4092 if (Module *Mod = ImportD->getImportedModule()) in getDeclSpelling()
4331 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange() local
4333 ArrayRef<SourceLocation> Locs = ImportD->getIdentifierLocs(); in clang_Cursor_getSpellingNameRange()
7338 if (const ImportDecl *ImportD = in clang_Cursor_getModule() local
7340 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.cpp15127 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in ActOnModuleInclude() local
15130 TU->addDecl(ImportD); in ActOnModuleInclude()
15131 Consumer.HandleImplicitImportDecl(ImportD); in ActOnModuleInclude()
15167 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery() local
15169 TU->addDecl(ImportD); in createImplicitModuleImportForErrorRecovery()
15170 Consumer.HandleImplicitImportDecl(ImportD); in createImplicitModuleImportForErrorRecovery()