Searched refs:decl_ctx (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerDeclContext.h42 CompilerDeclContext(TypeSystem *type_system, void *decl_ctx) argument
43 : m_type_system(type_system), m_opaque_decl_ctx(decl_ctx) {}
105 void SetDeclContext(TypeSystem *type_system, void *decl_ctx) { argument
107 m_opaque_decl_ctx = decl_ctx;
H A DClangASTContext.h131 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
251 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
276 CreateFunctionTemplateDecl(clang::DeclContext *decl_ctx,
285 CreateClassTemplateDecl(clang::DeclContext *decl_ctx,
293 clang::DeclContext *decl_ctx,
313 clang::DeclContext *decl_ctx, bool isForwardDecl,
330 GetUniqueNamespaceDeclaration(const char *name, clang::DeclContext *decl_ctx,
336 CreateFunctionDeclaration(clang::DeclContext *decl_ctx, const char *name,
352 clang::ParmVarDecl *CreateParameterDeclaration(clang::DeclContext *decl_ctx,
370 clang::DeclContext *decl_ctx,
[all...]
H A DCompilerType.h242 const CompilerDeclContext &decl_ctx) const;
H A DSymbolFile.h192 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} argument
H A DTypeSystem.h257 const CompilerDeclContext &decl_ctx);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangExternalASTSourceCallbacks.cpp36 const clang::DeclContext *decl_ctx,
39 if (decl_ctx) {
41 const_cast<clang::DeclContext *>(decl_ctx));
35 FindExternalLexicalDecls( const clang::DeclContext *decl_ctx, llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant, llvm::SmallVectorImpl<clang::Decl *> &decls) argument
H A DClangASTContext.cpp1177 CompilerType ClangASTContext::CreateRecordType(DeclContext *decl_ctx, argument
1185 if (decl_ctx == nullptr)
1186 decl_ctx = ast.getTranslationUnitDecl();
1192 return CreateObjCClass(name, decl_ctx, isForwardDecl, isInternal, metadata);
1204 ast, (TagDecl::TagKind)kind, decl_ctx, SourceLocation(), SourceLocation(),
1232 if (isa<CXXRecordDecl>(decl_ctx) && exports_symbols)
1243 if (decl_ctx)
1244 decl_ctx->addDecl(decl);
1316 clang::DeclContext *decl_ctx, clang::FunctionDecl *func_decl,
1326 ast, decl_ctx, func_dec
1315 CreateFunctionTemplateDecl( clang::DeclContext *decl_ctx, clang::FunctionDecl *func_decl, const char *name, const TemplateParameterInfos &template_param_infos) argument
1353 CreateClassTemplateDecl( DeclContext *decl_ctx, lldb::AccessType access_type, const char *class_name, int kind, const TemplateParameterInfos &template_param_infos) argument
1423 auto *decl_ctx = ast.getTranslationUnitDecl(); local
1443 CreateClassTemplateSpecializationDecl( DeclContext *decl_ctx, ClassTemplateDecl *class_template_decl, int kind, const TemplateParameterInfos &template_param_infos) argument
1578 CreateObjCClass(llvm::StringRef name, DeclContext *decl_ctx, bool isForwardDecl, bool isInternal, ClangASTMetadata *metadata) argument
1629 GetUniqueNamespaceDeclaration( const char *name, DeclContext *decl_ctx, bool is_inline) argument
1717 CreateUsingDirectiveDeclaration( clang::DeclContext *decl_ctx, clang::NamespaceDecl *ns_decl) argument
1867 CreateFunctionDeclaration( DeclContext *decl_ctx, const char *name, const CompilerType &function_clang_type, int storage, bool is_inline) argument
1934 CreateParameterDeclaration( clang::DeclContext *decl_ctx, const char *name, const CompilerType &param_type, int storage, bool add_decl) argument
2031 CreateEnumerationType(const char *name, DeclContext *decl_ctx, const Declaration &decl, const CompilerType &integer_clang_type, bool is_scoped) argument
2112 DumpDeclContextHiearchy(clang::DeclContext *decl_ctx) argument
2687 clang::DeclContext *decl_ctx = GetDeclContextForType(GetQualType(type)); local
4226 clang::DeclContext *decl_ctx = local
4333 clang::DeclContext *decl_ctx = local
[all...]
H A DClangASTImporter.cpp127 for (DeclContext *decl_ctx = (decl->*contextFromDecl)(); decl_ctx;
128 decl_ctx = (decl_ctx->*contextFromContext)()) {
129 if (decl_ctx == base) {
H A DCompilerType.cpp453 const CompilerDeclContext &decl_ctx) const {
455 return m_type_system->CreateTypedef(m_type, name, decl_ctx);
H A DTypeSystem.cpp112 const CompilerDeclContext &decl_ctx) {
H A DSymbolContext.cpp550 CompilerDeclContext decl_ctx = function_block->GetDeclContext(); local
551 if (decl_ctx)
552 return decl_ctx.IsClassMethod(&language, &is_instance_method,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp31 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx,
44 static_cast<void *>(&decl_ctx->getParentASTContext()),
45 name.getAsString().c_str(), decl_ctx->getDeclKindName(),
46 static_cast<const void *>(decl_ctx));
51 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx);
68 SetNoExternalVisibleDeclsForName(decl_ctx, name);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp100 const DeclContext *decl_ctx, DeclarationName clang_decl_name) {
102 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
107 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
123 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
136 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
145 clang_decl_name, decl_ctx);
149 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, method_decls);
157 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
167 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
178 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_nam
99 FindExternalVisibleDeclsByName( const DeclContext *decl_ctx, DeclarationName clang_decl_name) argument
234 DeclContext *decl_ctx = tag_decl->getDeclContext(); local
[all...]
H A DClangExpressionDeclMap.cpp1298 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); local
1300 if (!decl_ctx)
1304 if (decl_ctx.IsClassMethod(nullptr, nullptr, nullptr))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp231 clang::DeclContext *decl_ctx,
234 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx);
410 "(die = 0x%8.8x, decl_ctx = %p (die 0x%8.8x)) %s name = '%s')",
429 if (clang::DeclContext *decl_ctx =
431 LinkDeclContextToDIE(decl_ctx, die);
1561 clang::DeclContext *decl_ctx = local
1569 CompleteExternalTagDeclType(m_ast, GetClangASTImporter(), decl_ctx, die,
1572 if (attrs.accessibility == eAccessNone && decl_ctx) {
1575 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind();
1588 m_ast.ParseClassTemplateDecl(decl_ctx, attr
229 CompleteExternalTagDeclType(ClangASTContext &ast, ClangASTImporter &ast_importer, clang::DeclContext *decl_ctx, DWARFDIE die, const char *type_name_cstr) argument
2326 DWARFDeclContext decl_ctx; local
3322 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE(die); local
3524 LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die) argument
[all...]
H A DDWARFASTParserClang.h151 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
H A DSymbolFileDWARF.cpp1222 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { argument
1223 auto *type_system = decl_ctx.GetTypeSystem();
1226 decl_ctx);
2038 const lldb_private::CompilerDeclContext *decl_ctx) {
2039 if (decl_ctx == nullptr || !decl_ctx->IsValid()) {
2046 TypeSystem *decl_ctx_type_system = decl_ctx->GetTypeSystem();
2284 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext *decl_ctx, argument
2289 if (decl_ctx == nullptr || !decl_ctx
2037 DeclContextMatchesThisSymbolFile( const lldb_private::CompilerDeclContext *decl_ctx) argument
3416 DWARFDeclContext decl_ctx; local
[all...]
H A DSymbolFileDWARF.h157 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
336 const lldb_private::CompilerDeclContext *decl_ctx);
H A DSymbolFileDWARFDebugMap.h95 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DSymbolFileDWARFDebugMap.cpp1312 lldb_private::CompilerDeclContext decl_ctx) {
1314 oso_dwarf->ParseDeclsForContext(decl_ctx);
1311 ParseDeclsForContext( lldb_private::CompilerDeclContext decl_ctx) argument
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
245 const lldb_private::CompilerDeclContext *decl_ctx);
H A DSymbolFilePDB.cpp702 lldb_private::CompilerDeclContext decl_ctx) {
721 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext()));
1975 const lldb_private::CompilerDeclContext *decl_ctx) {
1976 if (decl_ctx == nullptr || !decl_ctx->IsValid())
1979 TypeSystem *decl_ctx_type_system = decl_ctx->GetTypeSystem();
701 ParseDeclsForContext( lldb_private::CompilerDeclContext decl_ctx) argument
1974 DeclContextMatchesThisSymbolFile( const lldb_private::CompilerDeclContext *decl_ctx) argument
H A DPDBASTParser.cpp542 auto decl_ctx = GetDeclContextContainingSymbol(type); local
547 decl_ctx);
552 target_ast_type, name.c_str(), m_ast.CreateDeclContext(decl_ctx));
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h81 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DSymbolFileNativePDB.cpp890 lldb_private::CompilerDeclContext decl_ctx) {
891 clang::DeclContext *context = m_ast->FromCompilerDeclContext(decl_ctx);
889 ParseDeclsForContext( lldb_private::CompilerDeclContext decl_ctx) argument

Completed in 174 milliseconds