Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp40 while (isa<LinkageSpecDecl>(DC) || isa<ExportDecl>(DC)) in checkModuleImportContext()
534 static const ExportDecl *getEnclosingExportDecl(const Decl *D) { in getEnclosingExportDecl()
536 if (auto *ED = dyn_cast<ExportDecl>(DC)) in getEnclosingExportDecl()
755 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
945 auto *ED = cast<ExportDecl>(D); in ActOnFinishExportDecl()
H A DSemaLookup.cpp1792 isa<ExportDecl>(DC); in isAcceptableSlow()
H A DSemaDecl.cpp6178 else if (isa<ExportDecl>(Cur)) { in diagnoseQualifiedDeclaration()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DModule.h360 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>; variable
363 SmallVector<ExportDecl, 2> Exports;
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDecl.h4716 class ExportDecl final : public Decl, public DeclContext {
4725 ExportDecl(DeclContext *DC, SourceLocation ExportLoc) in ExportDecl() function
4730 static ExportDecl *Create(ASTContext &C, DeclContext *DC,
4732 static ExportDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4754 static DeclContext *castToDeclContext(const ExportDecl *D) { in castToDeclContext()
4755 return static_cast<DeclContext *>(const_cast<ExportDecl*>(D)); in castToDeclContext()
4757 static ExportDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4758 return static_cast<ExportDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
H A DRecursiveASTVisitor.h1589 DEF_TRAVERSE_DECL(ExportDecl, {})
/openbsd-src/gnu/llvm/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()
652 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
668 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
1062 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in inferFrameworkModule()
1360 Module::ExportDecl Export = resolveExport(Mod, UE, Complain); in resolveExports()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp1019 while (DC && !isa<ExportDecl>(DC)) in isInExportDeclContext()
1022 return DC && isa<ExportDecl>(DC); in isInExportDeclContext()
1212 return isa<LinkageSpecDecl, ExportDecl, HLSLBufferDecl>(this); in isTransparentContext()
1249 if (!isa<LinkageSpecDecl>(DC) && !isa<ExportDecl>(DC) && in Encloses()
H A DDecl.cpp5413 void ExportDecl::anchor() {} in anchor()
5415 ExportDecl *ExportDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5417 return new (C, DC) ExportDecl(DC, ExportLoc); in Create()
5420 ExportDecl *ExportDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5421 return new (C, ID) ExportDecl(nullptr, SourceLocation()); in CreateDeserialized()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DModuleMap.h300 Module::ExportDecl
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DModule.cpp370 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrInferSubmodule()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp442 Decl *ExportDecl = Actions.ActOnStartExportDecl( in ParseExportDeclaration() local
452 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
475 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp403 void VisitExportDecl(ExportDecl *D);
1749 void ASTDeclReader::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
3684 D = ExportDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp126 void VisitExportDecl(ExportDecl *D);
1251 void ASTDeclWriter::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
H A DASTReader.cpp4431 Module::ExportDecl(ResolvedMod, Unresolved.IsWildcard)); in ReadAST()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp6530 EmitDeclContext(cast<ExportDecl>(D)); in EmitTopLevelDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h3242 Decl *ActOnFinishExportDecl(Scope *S, Decl *ExportDecl,