Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerDeclContext.h43 CompilerDeclContext(TypeSystem *type_system, void *decl_ctx) in CompilerDeclContext()
44 : m_type_system(type_system), m_opaque_decl_ctx(decl_ctx) {}
99 void SetDeclContext(TypeSystem *type_system, void *decl_ctx) { in Clear()
101 m_opaque_decl_ctx = decl_ctx;
42 CompilerDeclContext(TypeSystem * type_system,void * decl_ctx) CompilerDeclContext() argument
91 SetDeclContext(TypeSystem * type_system,void * decl_ctx) SetDeclContext() argument
H A DSymbolFileOnDemand.h115 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
H A DCompilerType.h370 const CompilerDeclContext &decl_ctx,
H A DSymbolFile.h227 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp41 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls() argument
44 if (decl_ctx) { in FindExternalLexicalDecls()
46 const_cast<clang::DeclContext *>(decl_ctx)); in FindExternalLexicalDecls()
H A DClangASTSource.cpp102 const DeclContext *decl_ctx, DeclarationName clang_decl_name) { in FindExternalVisibleDeclsByName() argument
104 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
117 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
130 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
139 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
143 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, method_decls); in FindExternalVisibleDeclsByName()
151 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
161 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
172 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
178 clang_decl_name, decl_ctx); in FindExternalVisibleDeclsByName()
[all …]
H A DClangASTImporter.cpp133 for (DeclContext *decl_ctx = (decl->*contextFromDecl)(); decl_ctx; in ChainPassesThrough() local
134 decl_ctx = (decl_ctx->*contextFromContext)()) { in ChainPassesThrough()
135 if (decl_ctx == base) { in ChainPassesThrough()
H A DClangExpressionDeclMap.cpp1289 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); in LookupFunction() local
1291 if (!decl_ctx) in LookupFunction()
1295 if (decl_ctx.IsClassMethod()) in LookupFunction()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1221 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateRecordType() argument
1226 if (decl_ctx == nullptr) in CreateRecordType()
1227 decl_ctx = ast.getTranslationUnitDecl(); in CreateRecordType()
1233 return CreateObjCClass(name, decl_ctx, owning_module, isForwardDecl, in CreateRecordType()
1246 decl->setDeclContext(decl_ctx); in CreateRecordType()
1276 if (isa<CXXRecordDecl>(decl_ctx) && exports_symbols) in CreateRecordType()
1286 if (decl_ctx) in CreateRecordType()
1287 decl_ctx->addDecl(decl); in CreateRecordType()
1406 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module, in CreateFunctionTemplateDecl() argument
1417 func_tmpl_decl->setDeclContext(decl_ctx); in CreateFunctionTemplateDecl()
[all …]
H A DTypeSystemClang.h187 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
328 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
421 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
429 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
437 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
459 clang::DeclContext *decl_ctx,
470 GetUniqueNamespaceDeclaration(const char *name, clang::DeclContext *decl_ctx,
477 clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
488 CreateParameterDeclaration(clang::DeclContext *decl_ctx,
505 clang::DeclContext *decl_ctx,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp32 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() argument
42 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
43 name.getAsString().c_str(), decl_ctx->getDeclKindName(), in FindExternalVisibleDeclsByName()
44 static_cast<const void *>(decl_ctx)); in FindExternalVisibleDeclsByName()
49 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
66 SetNoExternalVisibleDeclsForName(decl_ctx, name); in FindExternalVisibleDeclsByName()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp245 clang::DeclContext *decl_ctx, in PrepareContextToReceiveMembers() argument
248 auto *tag_decl_ctx = clang::dyn_cast<clang::TagDecl>(decl_ctx); in PrepareContextToReceiveMembers()
471 if (clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
473 LinkDeclContextToDIE(decl_ctx, die); in ParseTypeFromDWARF()
2347 DWARFDeclContext decl_ctx = die.GetDWARFDeclContext(); in ConstructDemangledNameFromDWARF() local
2348 sstr << decl_ctx.GetQualifiedName(); in ConstructDemangledNameFromDWARF()
3351 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE(die); in GetClangDeclContextForDIE() local
3352 if (decl_ctx) in GetClangDeclContextForDIE()
3353 return decl_ctx; in GetClangDeclContextForDIE()
3359 decl_ctx = m_ast.GetTranslationUnitDecl(); in GetClangDeclContextForDIE()
[all …]
H A DSymbolFileDWARF.h158 void ParseDeclsForContext(CompilerDeclContext decl_ctx) override;
380 bool DeclContextMatchesThisSymbolFile(const CompilerDeclContext &decl_ctx);
H A DSymbolFileDWARF.cpp1477 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1478 auto *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1481 decl_ctx); in ParseDeclsForContext()
2336 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2337 if (!decl_ctx.IsValid()) { in DeclContextMatchesThisSymbolFile()
2344 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2539 bool SymbolFileDWARF::DIEInDeclContext(const CompilerDeclContext &decl_ctx, in DIEInDeclContext() argument
2545 if (!decl_ctx.IsValid()) { in DIEInDeclContext()
2558 return decl_ctx.IsContainedInLookup(actual_decl_ctx); in DIEInDeclContext()
H A DSymbolFileDWARFDebugMap.h99 void ParseDeclsForContext(CompilerDeclContext decl_ctx) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp372 clang::DeclContext *decl_ctx = clang.GetDeclContextForType(record_ct); in AddMember() local
378 record_ct, layout, decl_ctx); in AddMember()
406 clang::DeclContext *decl_ctx = in FinishRecord() local
413 decl_ctx); in FinishRecord()
H A DUdtRecordCompleter.h140 clang::DeclContext *decl_ctx);
H A DSymbolFileNativePDB.h85 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h102 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
232 const lldb_private::CompilerDeclContext &decl_ctx);
H A DSymbolFilePDB.cpp718 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
738 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1970 const lldb_private::CompilerDeclContext &decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1971 if (!decl_ctx.IsValid()) in DeclContextMatchesThisSymbolFile()
1974 TypeSystem *decl_ctx_type_system = decl_ctx.GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
H A DPDBASTParser.cpp556 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
560 m_ast.GetTypeForIdentifier<clang::TypedefNameDecl>(name, decl_ctx); in CreateLLDBTypeFromPDBType()
565 name.c_str(), m_ast.CreateDeclContext(decl_ctx), 0); in CreateLLDBTypeFromPDBType()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DSymbolFileOnDemand.cpp257 void SymbolFileOnDemand::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
263 return m_sym_file_impl->ParseDeclsForContext(decl_ctx); in ParseDeclsForContext()
H A DTypeSystem.cpp113 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
H A DCompilerType.cpp738 const CompilerDeclContext &decl_ctx, in CreateTypedef() argument
742 return type_system_sp->CreateTypedef(m_type, name, decl_ctx, payload); in CreateTypedef()
H A DType.cpp114 TypeQuery::TypeQuery(const CompilerDeclContext &decl_ctx, in TypeQuery() argument
119 m_context = decl_ctx.GetCompilerContext(); in TypeQuery()

12