Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp41 while (isa<LinkageSpecDecl>(DC) || isa<ExportDecl>(DC)) in checkModuleImportContext()
543 static const ExportDecl *getEnclosingExportDecl(const Decl *D) { in getEnclosingExportDecl()
545 if (auto *ED = dyn_cast<ExportDecl>(DC)) in getEnclosingExportDecl()
754 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
889 auto *ED = cast<ExportDecl>(D); in ActOnFinishExportDecl()
H A DSemaLookup.cpp1805 isa<ExportDecl>(DC); in isAcceptableSlow()
H A DSemaDecl.cpp6315 else if (isa<ExportDecl>(Cur)) { in diagnoseQualifiedDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h411 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>; variable
414 SmallVector<ExportDecl, 2> Exports;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h4831 class ExportDecl final : public Decl, public DeclContext {
4840 ExportDecl(DeclContext *DC, SourceLocation ExportLoc) in ExportDecl() function
4845 static ExportDecl *Create(ASTContext &C, DeclContext *DC,
4847 static ExportDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4869 static DeclContext *castToDeclContext(const ExportDecl *D) { in castToDeclContext()
4870 return static_cast<DeclContext *>(const_cast<ExportDecl*>(D)); in castToDeclContext()
4872 static ExportDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4873 return static_cast<ExportDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
H A DRecursiveASTVisitor.h1570 DEF_TRAVERSE_DECL(ExportDecl, {})
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp113 Module::ExportDecl
120 return Module::ExportDecl(nullptr, true); in resolveExport()
128 return Module::ExportDecl(Context, Unresolved.Wildcard); in resolveExport()
675 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
691 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
1114 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in inferFrameworkModule()
1398 Module::ExportDecl Export = resolveExport(Mod, UE, Complain); in resolveExports()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1077 while (DC && !isa<ExportDecl>(DC)) in isInExportDeclContext()
1080 return DC && isa<ExportDecl>(DC); in isInExportDeclContext()
1303 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
1340 if (!isa<LinkageSpecDecl>(DC) && !isa<ExportDecl>(DC) && in Encloses()
H A DDecl.cpp5670 void ExportDecl::anchor() {} in anchor()
5672 ExportDecl *ExportDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5674 return new (C, DC) ExportDecl(DC, ExportLoc); in Create()
5677 ExportDecl *ExportDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5678 return new (C, ID) ExportDecl(nullptr, SourceLocation()); in CreateDeserialized()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h303 Module::ExportDecl
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp372 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrInferSubmodule()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp444 Decl *ExportDecl = Actions.ActOnStartExportDecl( in ParseExportDeclaration() local
454 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
470 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp414 void VisitExportDecl(ExportDecl *D);
1824 void ASTDeclReader::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
3852 D = ExportDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp124 void VisitExportDecl(ExportDecl *D);
1315 void ASTDeclWriter::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
H A DASTReader.cpp4608 Module::ExportDecl(ResolvedMod, Unresolved.IsWildcard)); in ReadAST()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6973 EmitDeclContext(cast<ExportDecl>(D)); in EmitTopLevelDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3305 Decl *ActOnFinishExportDecl(Scope *S, Decl *ExportDecl,