Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/include/clang/Index/
H A DIndexDataConsumer.h21 class ImportDecl; variable
60 virtual bool handleModuleOccurrence(const ImportDecl *ImportD, in handleModuleOccurrence()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTConsumer.h28 class ImportDecl; variable
92 virtual void HandleImplicitImportDecl(ImportDecl *D);
H A DASTContext.h576 ImportDecl *FirstLocalImport = nullptr;
577 ImportDecl *LastLocalImport = nullptr;
886 ImportDecl *Import = nullptr;
889 using value_type = ImportDecl *;
890 using reference = ImportDecl *;
891 using pointer = ImportDecl *;
896 explicit import_iterator(ImportDecl *Import) : Import(Import) {} in import_iterator()
1009 void addedLocalImportDecl(ImportDecl *Import);
1011 static ImportDecl *getNextLocalImport(ImportDecl *Import) { in getNextLocalImport()
H A DDecl.h4636 class ImportDecl final : public Decl,
4637 llvm::TrailingObjects<ImportDecl, SourceLocation> {
4654 llvm::PointerIntPair<ImportDecl *, 1, bool> NextLocalImportAndComplete;
4656 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
4659 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
4662 ImportDecl(EmptyShell Empty) : Decl(Import, Empty) {} in ImportDecl() function
4670 ImportDecl *getNextLocalImport() const { in getNextLocalImport()
4674 void setNextLocalImport(ImportDecl *Import) { in setNextLocalImport()
4680 static ImportDecl *Create(ASTContext &C, DeclContext *DC,
4686 static ImportDecl *CreateImplicit(ASTContext &C, DeclContext *DC,
[all …]
H A DTextNodeDumper.h342 void VisitImportDecl(const ImportDecl *D);
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexingContext.h23 class ImportDecl; variable
93 bool importedModule(const ImportDecl *ImportD);
H A DIndexingContext.cpp95 const ImportDecl *ImportD, in reportModuleReferences()
105 bool IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule()
194 if (isa<ImportDecl>(D)) in shouldIgnoreIfImplicit()
H A DIndexDecl.cpp760 bool VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp406 ImportDecl *Import = in ActOnModuleDecl()
407 ImportDecl::Create(Context, CurContext, ModuleLoc, Mod, Path[0].second); in ActOnModuleDecl()
585 ImportDecl *Import = ImportDecl::Create(Context, CurContext, StartLoc, in ActOnModuleImport()
648 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in BuildModuleInclude()
741 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTConsumer.cpp28 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
H A DDecl.cpp5351 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl
5362 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl
5369 ImportDecl *ImportDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5374 ImportDecl(DC, StartLoc, Imported, IdentifierLocs); in Create()
5377 ImportDecl *ImportDecl::CreateImplicit(ASTContext &C, DeclContext *DC, in CreateImplicit()
5381 ImportDecl *Import = new (C, DC, additionalSizeToAlloc<SourceLocation>(1)) in CreateImplicit()
5382 ImportDecl(DC, StartLoc, Imported, EndLoc); in CreateImplicit()
5387 ImportDecl *ImportDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
5390 ImportDecl(EmptyShell()); in CreateDeserialized()
5393 ArrayRef<SourceLocation> ImportDecl::getIdentifierLocs() const { in getIdentifierLocs()
[all …]
H A DDeclPrinter.cpp76 void VisitImportDecl(ImportDecl *D);
941 void DeclPrinter::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
H A DDeclBase.cpp1602 if (auto *Import = dyn_cast<ImportDecl>(D)) in addHiddenDecl()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTCommon.h117 if (isa<ImportDecl>(D)) in isPartOfPerModuleInitializer()
H A DASTReaderDecl.cpp406 void VisitImportDecl(ImportDecl *D);
2219 void ASTDeclReader::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
3062 ImportDecl, PragmaCommentDecl, PragmaDetectMismatchDecl>(D)) in isConsumerInterestedIn()
3898 D = ImportDecl::CreateDeserialized(Context, ID, Record.back()); in ReadDeclRecord()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DMultiplexConsumer.h68 void HandleImplicitImportDecl(ImportDecl *D) override;
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp72 bool VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
238 void HandleImplicitImportDecl(ImportDecl *D) override { in HandleImplicitImportDecl()
H A DCGDebugInfo.h533 void EmitImportDecl(const ImportDecl &ID);
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.h369 void importedModule(const ImportDecl *ImportD);
439 bool handleModuleOccurrence(const ImportDecl *ImportD, const Module *Mod,
H A DCXIndexDataConsumer.cpp145 bool VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
228 bool CXIndexDataConsumer::handleModuleOccurrence(const ImportDecl *ImportD, in handleModuleOccurrence()
485 void CXIndexDataConsumer::importedModule(const ImportDecl *ImportD) { in importedModule()
1237 if (isa<ImportDecl>(D)) in shouldIgnoreIfImplicit()
H A DCIndex.cpp4823 if (const ImportDecl *ImportD = dyn_cast<ImportDecl>(D)) in getDeclSpelling()
5062 if (const ImportDecl *ImportD = in clang_Cursor_getSpellingNameRange()
5063 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) { in clang_Cursor_getSpellingNameRange()
8720 if (const ImportDecl *ImportD = in clang_Cursor_getModule()
8721 dyn_cast_or_null<ImportDecl>(getCursorDecl(C))) in clang_Cursor_getModule()
/openbsd-src/gnu/llvm/clang/tools/c-index-test/
H A Dcore_main.cpp142 bool handleModuleOccurrence(const ImportDecl *ImportD, in handleModuleOccurrence()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParser.cpp661 Decl *ImportDecl = ParseModuleImport(SourceLocation(), ImportState); in ParseTopLevelDecl() local
662 Result = Actions.ConvertDeclToDeclGroup(ImportDecl); in ParseTopLevelDecl()
676 Decl *ImportDecl = Import.isInvalid() ? nullptr : Import.get(); in ParseTopLevelDecl() local
677 Result = Actions.ConvertDeclToDeclGroup(ImportDecl); in ParseTopLevelDecl()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DMultiplexConsumer.cpp321 void MultiplexConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h184 void HandleImplicitImportDecl(clang::ImportDecl *D) override { in HandleImplicitImportDecl()

12