| /llvm-project-15.0.7/clang/include/clang/Index/ |
| H A D | IndexDataConsumer.h | 21 class ImportDecl; variable 60 virtual bool handleModuleOccurrence(const ImportDecl *ImportD, in handleModuleOccurrence()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTConsumer.h | 28 class ImportDecl; variable 92 virtual void HandleImplicitImportDecl(ImportDecl *D);
|
| H A D | ASTContext.h | 602 ImportDecl *FirstLocalImport = nullptr; 603 ImportDecl *LastLocalImport = nullptr; 915 ImportDecl *Import = nullptr; 918 using value_type = ImportDecl *; 919 using reference = ImportDecl *; 920 using pointer = ImportDecl *; 925 explicit import_iterator(ImportDecl *Import) : Import(Import) {} in import_iterator() 1038 void addedLocalImportDecl(ImportDecl *Import); 1040 static ImportDecl *getNextLocalImport(ImportDecl *Import) { in getNextLocalImport()
|
| H A D | Decl.h | 4523 class ImportDecl final : public Decl, 4524 llvm::TrailingObjects<ImportDecl, SourceLocation> { 4541 llvm::PointerIntPair<ImportDecl *, 1, bool> NextLocalImportAndComplete; 4543 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported, 4546 ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported, 4549 ImportDecl(EmptyShell Empty) : Decl(Import, Empty) {} in ImportDecl() function 4557 ImportDecl *getNextLocalImport() const { in getNextLocalImport() 4561 void setNextLocalImport(ImportDecl *Import) { in setNextLocalImport() 4567 static ImportDecl *Create(ASTContext &C, DeclContext *DC, 4573 static ImportDecl *CreateImplicit(ASTContext &C, DeclContext *DC, [all …]
|
| H A D | TextNodeDumper.h | 339 void VisitImportDecl(const ImportDecl *D);
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexingContext.h | 23 class ImportDecl; variable 95 bool importedModule(const ImportDecl *ImportD);
|
| H A D | IndexingContext.cpp | 95 const ImportDecl *ImportD, in reportModuleReferences() 105 bool IndexingContext::importedModule(const ImportDecl *ImportD) { in importedModule() 194 if (isa<ImportDecl>(D)) in shouldIgnoreIfImplicit()
|
| H A D | IndexDecl.cpp | 760 bool VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 351 ImportDecl *Import = in ActOnModuleDecl() 352 ImportDecl::Create(Context, CurContext, ModuleLoc, Mod, Path[0].second); in ActOnModuleDecl() 530 ImportDecl *Import = ImportDecl::Create(Context, CurContext, StartLoc, in ActOnModuleImport() 601 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in BuildModuleInclude() 694 ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU, in createImplicitModuleImportForErrorRecovery()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTConsumer.cpp | 28 void ASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
|
| H A D | Decl.cpp | 5207 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl 5218 ImportDecl::ImportDecl(DeclContext *DC, SourceLocation StartLoc, in ImportDecl() function in ImportDecl 5225 ImportDecl *ImportDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5230 ImportDecl(DC, StartLoc, Imported, IdentifierLocs); in Create() 5233 ImportDecl *ImportDecl::CreateImplicit(ASTContext &C, DeclContext *DC, in CreateImplicit() 5237 ImportDecl *Import = new (C, DC, additionalSizeToAlloc<SourceLocation>(1)) in CreateImplicit() 5238 ImportDecl(DC, StartLoc, Imported, EndLoc); in CreateImplicit() 5243 ImportDecl *ImportDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized() 5246 ImportDecl(EmptyShell()); in CreateDeserialized() 5249 ArrayRef<SourceLocation> ImportDecl::getIdentifierLocs() const { in getIdentifierLocs() [all …]
|
| H A D | DeclPrinter.cpp | 75 void VisitImportDecl(ImportDecl *D); 937 void DeclPrinter::VisitImportDecl(ImportDecl *D) { in VisitImportDecl()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | CodeGenExternalTest.cpp | 75 void HandleImplicitImportDecl(ImportDecl *D) override; 128 void MyASTConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTCommon.h | 117 if (isa<ImportDecl>(D)) in isPartOfPerModuleInitializer()
|
| H A D | ASTReaderDecl.cpp | 402 void VisitImportDecl(ImportDecl *D); 2135 void ASTDeclReader::VisitImportDecl(ImportDecl *D) { in VisitImportDecl() 2970 isa<ImportDecl>(D) || in isConsumerInterestedIn() 3806 D = ImportDecl::CreateDeserialized(Context, ID, Record.back()); in ReadDeclRecord()
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | MultiplexConsumer.h | 68 void HandleImplicitImportDecl(ImportDecl *D) override;
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 72 bool VisitImportDecl(ImportDecl *D) { in VisitImportDecl() 238 void HandleImplicitImportDecl(ImportDecl *D) override { in HandleImplicitImportDecl()
|
| H A D | CGDebugInfo.h | 534 void EmitImportDecl(const ImportDecl &ID);
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.h | 369 void importedModule(const ImportDecl *ImportD); 439 bool handleModuleOccurrence(const ImportDecl *ImportD, const Module *Mod,
|
| H A D | CXIndexDataConsumer.cpp | 145 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()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | core_main.cpp | 142 bool handleModuleOccurrence(const ImportDecl *ImportD, in handleModuleOccurrence()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 36 struct ImportDecl : TestImportBase {}; struct 589 TEST_P(ImportDecl, ImportFunctionTemplateDecl) { in TEST_P() argument 634 TEST_P(ImportDecl, ImportVarTemplate) { in TEST_P() argument 796 TEST_P(ImportDecl, ImportRecordDeclInFunc) { in TEST_P() argument 885 TEST_P(ImportDecl, ImportUsingDecl) { in TEST_P() argument 893 TEST_P(ImportDecl, ImportUsingTemplate) { in TEST_P() argument 905 TEST_P(ImportDecl, ImportUsingEnumDecl) { in TEST_P() argument 915 TEST_P(ImportDecl, ImportUsingPackDecl) { in TEST_P() argument 940 TEST_P(ImportDecl, ImportUsingShadowDecl) { in TEST_P() argument 2902 TEST_P(ImportDecl, ImportEnumSequential) { in TEST_P() argument [all …]
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | Parser.cpp | 661 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()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | MultiplexConsumer.cpp | 321 void MultiplexConsumer::HandleImplicitImportDecl(ImportDecl *D) { in HandleImplicitImportDecl()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTUtils.h | 183 void HandleImplicitImportDecl(clang::ImportDecl *D) override { in HandleImplicitImportDecl()
|