Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMapFile.h29 struct ExportDecl;
34 struct ModuleDecl, struct ExcludeDecl, struct ExportDecl,
87 struct ExportDecl { struct
H A DModuleMap.h291 Module::ExportDecl
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp42 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 DSemaHLSL.cpp2238 if (llvm::dyn_cast<NamespaceDecl>(D) || llvm::dyn_cast<ExportDecl>(D)) { in RunOnTranslationUnit()
H A DSemaLookup.cpp1863 isa<ExportDecl>(DC); in isAcceptableSlow()
H A DSemaDecl.cpp6236 else if (isa<ExportDecl>(Cur)) { in diagnoseQualifiedDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp106 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 DModuleMapFile.cpp112 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 DModule.h468 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>; variable
471 SmallVector<ExportDecl, 2> Exports;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1129 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 DDecl.cpp5971 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 DDecl.h5040 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 DRecursiveASTVisitor.h1655 DEF_TRAVERSE_DECL(ExportDecl, {})
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp816 const internal::VariadicDynCastAllOfMatcher<Decl, ExportDecl> exportDecl;
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp413 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 DASTReaderDecl.cpp400 void VisitExportDecl(ExportDecl *D);
1834 void ASTDeclReader::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
3952 D = ExportDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp139 void VisitExportDecl(ExportDecl *D);
1527 void ASTDeclWriter::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
H A DASTReader.cpp4905 Module::ExportDecl(ResolvedMod, Unresolved.IsWildcard)); in ReadAST()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1256 extern const internal::VariadicDynCastAllOfMatcher<Decl, ExportDecl> exportDecl;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp7445 EmitDeclContext(cast<ExportDecl>(D)); in EmitTopLevelDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9895 Decl *ActOnFinishExportDecl(Scope *S, Decl *ExportDecl,