Home
last modified time | relevance | path

Searched refs:ImportDecl (Results 1 – 21 of 21) sorted by relevance

/external/clang/include/clang/AST/
DASTConsumer.h31 class ImportDecl; variable
95 virtual void HandleImplicitImportDecl(ImportDecl *D);
DASTContext.h375 ImportDecl *FirstLocalImport;
376 ImportDecl *LastLocalImport;
633 ImportDecl *Import;
636 typedef ImportDecl *value_type;
637 typedef ImportDecl *reference;
638 typedef ImportDecl *pointer;
643 explicit import_iterator(ImportDecl *Import) : Import(Import) {} in import_iterator()
748 void addedLocalImportDecl(ImportDecl *Import);
750 static ImportDecl *getNextLocalImport(ImportDecl *Import) { in getNextLocalImport()
DDecl.h3503 class ImportDecl : public Decl {
3514 ImportDecl *NextLocalImport;
3520 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
3523 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
3526 ImportDecl(EmptyShell Empty) : Decl(Import, Empty), NextLocalImport() { } in ImportDecl() function
3530 static ImportDecl *Create(ASTContext &C, DeclContext *DC,
3536 static ImportDecl *CreateImplicit(ASTContext &C, DeclContext *DC,
3541 static ImportDecl *CreateDeserialized(ASTContext &C, unsigned ID,
DDataRecursiveASTVisitor.h1234 DEF_TRAVERSE_DECL(ImportDecl, {})
DRecursiveASTVisitor.h1299 DEF_TRAVERSE_DECL(ImportDecl, {})
/external/clang/lib/AST/
DASTConsumer.cpp29 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
DDecl.cpp3845 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl
3857 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl
3865 ImportDecl *ImportDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3869 ImportDecl(DC, StartLoc, Imported, IdentifierLocs); in Create()
3872 ImportDecl *ImportDecl::CreateImplicit(ASTContext &C, DeclContext *DC, in CreateImplicit()
3876 ImportDecl *Import = in CreateImplicit()
3877 new (C, DC, sizeof(SourceLocation)) ImportDecl(DC, StartLoc, in CreateImplicit()
3883 ImportDecl *ImportDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
3886 ImportDecl(EmptyShell()); in CreateDeserialized()
3889 ArrayRef<SourceLocation> ImportDecl::getIdentifierLocs() const { in getIdentifierLocs()
[all …]
DDeclPrinter.cpp62 void VisitImportDecl(ImportDecl *D);
714 void DeclPrinter::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
DDeclBase.cpp1183 if (ImportDecl *Import = dyn_cast<ImportDecl>(D)) in addHiddenDecl()
DASTDumper.cpp247 void VisitImportDecl(const ImportDecl *D);
1037 void ASTDumper::VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
DASTContext.cpp1249 void ASTContext::addedLocalImportDecl(ImportDecl *Import) { in addedLocalImportDecl()
/external/clang/tools/libclang/
DIndexDecl.cpp314 bool VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
DIndexingContext.h369 void importedModule(const ImportDecl *ImportD);
DIndexingContext.cpp261 void IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule()
1158 if (isa<ImportDecl>(D)) in shouldIgnoreIfImplicit()
DCIndex.cpp3344 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling()
3571 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange()
3572 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) { in clang_Cursor_getSpellingNameRange()
6408 if (const ImportDecl *ImportD = in clang_Cursor_getModule()
6409 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) in clang_Cursor_getModule()
/external/clang/lib/Frontend/
DCompilerInstance.cpp1496 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in loadModule()
DASTUnit.cpp823 if (ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) { in AddTopLevelDeclarationToHash()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp104 void VisitImportDecl(ImportDecl *D);
1058 void ASTDeclWriter::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
1830 if (isa<FileScopeAsmDecl>(D) || isa<ObjCImplDecl>(D) || isa<ImportDecl>(D)) in isRequiredDecl()
DASTReaderDecl.cpp292 void VisitImportDecl(ImportDecl *D);
1524 void ASTDeclReader::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
2188 isa<ImportDecl>(D)) in isConsumerInterestedIn()
2799 D = ImportDecl::CreateDeserialized(Context, ID, Record.back()); in ReadDeclRecord()
/external/clang/lib/Sema/
DSemaDecl.cpp13390 ImportDecl *Import = ImportDecl::Create(Context, in ActOnModuleImport()
13414 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp3206 auto *Import = cast<ImportDecl>(D); in EmitTopLevelDecl()