| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | ModuleMapFile.h | 29 struct ExportDecl; 34 struct ModuleDecl, struct ExcludeDecl, struct ExportDecl, 87 struct ExportDecl { struct
|
| H A D | ModuleMap.h | 291 Module::ExportDecl
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 42 while (isa<LinkageSpecDecl>(DC) || isa<ExportDecl>(DC)) in checkModuleImportContext() 638 static const ExportDecl *getEnclosingExportDecl(const Decl *D) { in getEnclosingExportDecl() 640 if (auto *ED = dyn_cast<ExportDecl>(DC)) in getEnclosingExportDecl() 860 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl() 948 if (!isa<FunctionDecl, ExportDecl>(D)) { in checkExportedDecl() 1008 auto *ED = cast<ExportDecl>(D); in ActOnFinishExportDecl()
|
| H A D | SemaHLSL.cpp | 2238 if (llvm::dyn_cast<NamespaceDecl>(D) || llvm::dyn_cast<ExportDecl>(D)) { in RunOnTranslationUnit()
|
| H A D | SemaLookup.cpp | 1863 isa<ExportDecl>(DC); in isAcceptableSlow()
|
| H A D | SemaDecl.cpp | 6236 else if (isa<ExportDecl>(Cur)) { in diagnoseQualifiedDeclaration()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | ModuleMap.cpp | 106 Module::ExportDecl 113 return Module::ExportDecl(nullptr, true); in resolveExport() 121 return Module::ExportDecl(Context, Unresolved.Wildcard); in resolveExport() 661 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir() 676 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir() 832 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrInferSubmodule() 1126 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in inferFrameworkModule() 1495 Module::ExportDecl Export = resolveExport(Mod, UE, Complain); in resolveExports() 1578 void handleExportDecl(const modulemap::ExportDecl &ED); 1811 [&](const modulemap::ExportDecl &ED) { handleExportDecl(ED); }, in handleModuleDecl() [all …]
|
| H A D | ModuleMapFile.cpp | 112 std::optional<ExportDecl> parseExportDecl(); 551 std::optional<ExportDecl> ModuleMapFileParser::parseExportDecl() { in parseExportDecl() 553 ExportDecl ED; in parseExportDecl() 1187 [&](const ExportDecl &ED) { in dumpDecls()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Module.h | 468 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>; variable 471 SmallVector<ExportDecl, 2> Exports;
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1129 while (DC && !isa<ExportDecl>(DC)) in isInExportDeclContext() 1132 return isa_and_nonnull<ExportDecl>(DC); in isInExportDeclContext() 1401 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext() 1438 if (!isa<LinkageSpecDecl, ExportDecl>(DC) && in Encloses() 1449 if (!isa<LinkageSpecDecl, ExportDecl>(DC) && in LexicallyEncloses()
|
| H A D | Decl.cpp | 5971 void ExportDecl::anchor() {} in anchor() 5973 ExportDecl *ExportDecl::Create(ASTContext &C, DeclContext *DC, in Create() 5975 return new (C, DC) ExportDecl(DC, ExportLoc); in Create() 5978 ExportDecl *ExportDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized() 5979 return new (C, ID) ExportDecl(nullptr, SourceLocation()); in CreateDeserialized()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 5040 class ExportDecl final : public Decl, public DeclContext { 5049 ExportDecl(DeclContext *DC, SourceLocation ExportLoc) in ExportDecl() function 5054 static ExportDecl *Create(ASTContext &C, DeclContext *DC, 5056 static ExportDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 5078 static DeclContext *castToDeclContext(const ExportDecl *D) { in castToDeclContext() 5079 return static_cast<DeclContext *>(const_cast<ExportDecl*>(D)); in castToDeclContext() 5081 static ExportDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 5082 return static_cast<ExportDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
|
| H A D | RecursiveASTVisitor.h | 1655 DEF_TRAVERSE_DECL(ExportDecl, {})
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 816 const internal::VariadicDynCastAllOfMatcher<Decl, ExportDecl> exportDecl;
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 413 Decl *ExportDecl = Actions.ActOnStartExportDecl( in ParseExportDeclaration() local 423 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration() 439 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 400 void VisitExportDecl(ExportDecl *D); 1834 void ASTDeclReader::VisitExportDecl(ExportDecl *D) { in VisitExportDecl() 3952 D = ExportDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 139 void VisitExportDecl(ExportDecl *D); 1527 void ASTDeclWriter::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
|
| H A D | ASTReader.cpp | 4905 Module::ExportDecl(ResolvedMod, Unresolved.IsWildcard)); in ReadAST()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 1256 extern const internal::VariadicDynCastAllOfMatcher<Decl, ExportDecl> exportDecl;
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 7445 EmitDeclContext(cast<ExportDecl>(D)); in EmitTopLevelDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 9895 Decl *ActOnFinishExportDecl(Scope *S, Decl *ExportDecl,
|