Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DASTConsumer.h31 class ImportDecl; variable
95 virtual void HandleImplicitImportDecl(ImportDecl *D);
DASTContext.h401 ImportDecl *FirstLocalImport;
402 ImportDecl *LastLocalImport;
722 ImportDecl *Import;
725 typedef ImportDecl *value_type;
726 typedef ImportDecl *reference;
727 typedef ImportDecl *pointer;
732 explicit import_iterator(ImportDecl *Import) : Import(Import) {} in import_iterator()
837 void addedLocalImportDecl(ImportDecl *Import);
839 static ImportDecl *getNextLocalImport(ImportDecl *Import) { in getNextLocalImport()
DDecl.h3726 class ImportDecl final : public Decl,
3727 llvm::TrailingObjects<ImportDecl, SourceLocation> {
3738 ImportDecl *NextLocalImport;
3745 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
3748 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
3751 ImportDecl(EmptyShell Empty) : Decl(Import, Empty), NextLocalImport() { } in ImportDecl() function
3755 static ImportDecl *Create(ASTContext &C, DeclContext *DC,
3761 static ImportDecl *CreateImplicit(ASTContext &C, DeclContext *DC,
3766 static ImportDecl *CreateDeserialized(ASTContext &C, unsigned ID,
DRecursiveASTVisitor.h1273 DEF_TRAVERSE_DECL(ImportDecl, {})
/external/clang/lib/AST/
DASTConsumer.cpp30 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
DDecl.cpp4030 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl
4042 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl
4050 ImportDecl *ImportDecl::Create(ASTContext &C, DeclContext *DC, in Create()
4055 ImportDecl(DC, StartLoc, Imported, IdentifierLocs); in Create()
4058 ImportDecl *ImportDecl::CreateImplicit(ASTContext &C, DeclContext *DC, in CreateImplicit()
4062 ImportDecl *Import = new (C, DC, additionalSizeToAlloc<SourceLocation>(1)) in CreateImplicit()
4063 ImportDecl(DC, StartLoc, Imported, EndLoc); in CreateImplicit()
4068 ImportDecl *ImportDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
4071 ImportDecl(EmptyShell()); in CreateDeserialized()
4074 ArrayRef<SourceLocation> ImportDecl::getIdentifierLocs() const { in getIdentifierLocs()
[all …]
DDeclBase.cpp1247 if (ImportDecl *Import = dyn_cast<ImportDecl>(D)) in addHiddenDecl()
DDeclPrinter.cpp71 void VisitImportDecl(ImportDecl *D);
772 void DeclPrinter::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
DASTDumper.cpp427 void VisitImportDecl(const ImportDecl *D);
1190 void ASTDumper::VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
DASTContext.cpp1327 void ASTContext::addedLocalImportDecl(ImportDecl *Import) { in addedLocalImportDecl()
/external/clang/include/clang/Frontend/
DMultiplexConsumer.h46 void HandleImplicitImportDecl(ImportDecl *D) override;
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp70 bool VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
71 auto *Import = cast<ImportDecl>(D); in VisitImportDecl()
DCGDebugInfo.h357 void EmitImportDecl(const ImportDecl &ID);
DCodeGenModule.cpp3605 auto *Import = cast<ImportDecl>(D); in EmitTopLevelDecl()
DCGDebugInfo.cpp3445 void CGDebugInfo::EmitImportDecl(const ImportDecl &ID) { in EmitImportDecl()
/external/clang/tools/libclang/
DIndexDecl.cpp314 bool VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
DIndexingContext.h372 void importedModule(const ImportDecl *ImportD);
DIndexingContext.cpp261 void IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule()
1158 if (isa<ImportDecl>(D)) in shouldIgnoreIfImplicit()
DCIndex.cpp3690 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling()
3930 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange()
3931 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) { in clang_Cursor_getSpellingNameRange()
6966 if (const ImportDecl *ImportD = in clang_Cursor_getModule()
6967 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) in clang_Cursor_getModule()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp309 void MultiplexConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
DASTUnit.cpp810 if (ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) { in AddTopLevelDeclarationToHash()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp104 void VisitImportDecl(ImportDecl *D);
1212 void ASTDeclWriter::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
2092 if (isa<ImportDecl>(D) && !WritingModule) in isRequiredDecl()
DASTReaderDecl.cpp305 void VisitImportDecl(ImportDecl *D);
1730 void ASTDeclReader::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
2408 isa<ImportDecl>(D) || in isConsumerInterestedIn()
3300 D = ImportDecl::CreateDeserialized(Context, ID, Record.back()); in ReadDeclRecord()
/external/clang/lib/Sema/
DSemaDecl.cpp14639 ImportDecl *Import = ImportDecl::Create(Context, in ActOnModuleImport()
14663 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in ActOnModuleInclude()
14700 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery()