Searched refs:ImportD (Results 1 – 10 of 10) sorted by relevance
/external/clang/tools/c-index-test/ |
D | core_main.cpp | 111 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/ |
D | IndexingContext.cpp | 60 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()
|
D | IndexingContext.h | 80 bool importedModule(const ImportDecl *ImportD);
|
D | IndexingAction.cpp | 35 bool IndexDataConsumer::handleModuleOccurence(const ImportDecl *ImportD, in handleModuleOccurence() argument
|
/external/clang/include/clang/Index/ |
D | IndexDataConsumer.h | 51 virtual bool handleModuleOccurence(const ImportDecl *ImportD,
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 221 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()
|
D | CXIndexDataConsumer.h | 372 void importedModule(const ImportDecl *ImportD); 470 bool handleModuleOccurence(const ImportDecl *ImportD,
|
D | CIndex.cpp | 4091 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/ |
D | ASTUnit.cpp | 810 if (ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) { in AddTopLevelDeclarationToHash() local 811 if (Module *Mod = ImportD->getImportedModule()) { in AddTopLevelDeclarationToHash()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 15127 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()
|