Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaModule.cpp39 while (isa<LinkageSpecDecl>(DC) || isa<ExportDecl>(DC)) in checkModuleImportContext()
334 static const ExportDecl *getEnclosingExportDecl(const Decl *D) { in getEnclosingExportDecl()
336 if (auto *ED = dyn_cast<ExportDecl>(DC)) in getEnclosingExportDecl()
525 ExportDecl *D = ExportDecl::Create(Context, CurContext, ExportLoc); in ActOnStartExportDecl()
690 auto *ED = cast<ExportDecl>(D); in ActOnFinishExportDecl()
DSemaLookup.cpp1653 isa<ExportDecl>(DC); in isVisibleSlow()
/external/clang/include/clang/Basic/
DModule.h227 typedef llvm::PointerIntPair<Module *, 1, bool> ExportDecl; typedef
230 SmallVector<ExportDecl, 2> Exports;
/external/llvm-project/clang/include/clang/Basic/
DModule.h330 using ExportDecl = llvm::PointerIntPair<Module *, 1, bool>; variable
333 SmallVector<ExportDecl, 2> Exports;
/external/clang/lib/Lex/
DModuleMap.cpp39 Module::ExportDecl
46 return Module::ExportDecl(nullptr, true); in resolveExport()
52 return Module::ExportDecl(); in resolveExport()
54 return Module::ExportDecl(Context, Unresolved.Wildcard); in resolveExport()
392 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
408 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
702 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in inferFrameworkModule()
879 Module::ExportDecl Export = resolveExport(Mod, UE, Complain); in resolveExports()
/external/llvm-project/clang/lib/Lex/
DModuleMap.cpp107 Module::ExportDecl
114 return Module::ExportDecl(nullptr, true); in resolveExport()
122 return Module::ExportDecl(Context, Unresolved.Wildcard); in resolveExport()
636 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
652 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrCreateModuleForHeaderInUmbrellaDir()
897 M->Exports.push_back(Module::ExportDecl(nullptr, true)); in createHeaderModule()
1048 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in inferFrameworkModule()
1296 Module::ExportDecl Export = resolveExport(Mod, UE, Complain); in resolveExports()
/external/clang/include/clang/Lex/
DModuleMap.h232 Module::ExportDecl
/external/llvm-project/clang/include/clang/AST/
DDecl.h4468 class ExportDecl final : public Decl, public DeclContext {
4477 ExportDecl(DeclContext *DC, SourceLocation ExportLoc) in ExportDecl() function
4482 static ExportDecl *Create(ASTContext &C, DeclContext *DC,
4484 static ExportDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4506 static DeclContext *castToDeclContext(const ExportDecl *D) { in castToDeclContext()
4507 return static_cast<DeclContext *>(const_cast<ExportDecl*>(D)); in castToDeclContext()
4509 static ExportDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
4510 return static_cast<ExportDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
DRecursiveASTVisitor.h1475 DEF_TRAVERSE_DECL(ExportDecl, {})
/external/llvm-project/clang/include/clang/Lex/
DModuleMap.h294 Module::ExportDecl
/external/llvm-project/clang-tools-extra/clangd/
DFindSymbols.cpp288 if (llvm::isa<LinkageSpecDecl>(D) || llvm::isa<ExportDecl>(D)) in shouldVisit()
/external/llvm-project/clang/lib/AST/
DDecl.cpp5094 void ExportDecl::anchor() {} in anchor()
5096 ExportDecl *ExportDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5098 return new (C, DC) ExportDecl(DC, ExportLoc); in Create()
5101 ExportDecl *ExportDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5102 return new (C, ID) ExportDecl(nullptr, SourceLocation()); in CreateDeserialized()
/external/llvm-project/clang/lib/Basic/
DModule.cpp351 Result->Exports.push_back(Module::ExportDecl(nullptr, true)); in findOrInferSubmodule()
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp423 Decl *ExportDecl = Actions.ActOnStartExportDecl( in ParseExportDeclaration() local
433 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
456 return Actions.ActOnFinishExportDecl(getCurScope(), ExportDecl, in ParseExportDeclaration()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp121 void VisitExportDecl(ExportDecl *D);
1220 void ASTDeclWriter::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
DASTReaderDecl.cpp396 void VisitExportDecl(ExportDecl *D);
1590 void ASTDeclReader::VisitExportDecl(ExportDecl *D) { in VisitExportDecl()
3819 D = ExportDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTReader.cpp4365 Module::ExportDecl(ResolvedMod, Unresolved.IsWildcard)); in ReadAST()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp5745 EmitDeclContext(cast<ExportDecl>(D)); in EmitTopLevelDecl()
/external/clang/lib/Serialization/
DASTReader.cpp3636 Module::ExportDecl(ResolvedMod, Unresolved.IsWildcard)); in ReadAST()
/external/llvm-project/clang/include/clang/Sema/
DSema.h2797 Decl *ActOnFinishExportDecl(Scope *S, Decl *ExportDecl,