Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp330 const clang::DeclContext &decl_context, in GetDeclFromContextByName() argument
403 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
478 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
508 ast_enum = m_ast.CreateEnumerationType(name, decl_context, in CreateLLDBTypeFromPDBType()
908 auto decl_context = GetDeclContextContainingSymbol(symbol); in GetDeclForSymbol() local
909 assert(decl_context); in GetDeclForSymbol()
931 decl_context, OptionalClangModuleID(), name.c_str(), in GetDeclForSymbol()
943 auto decl_context = GetDeclContextContainingSymbol(symbol); in GetDeclForSymbol() local
944 assert(decl_context); in GetDeclForSymbol()
957 decl_context, OptionalClangModuleID(), name, in GetDeclForSymbol()
[all …]
H A DSymbolFilePDB.cpp680 auto decl_context = pdb->GetDeclContextForSymbol(*symbol); in GetDeclContextForUID() local
681 if (!decl_context) in GetDeclContextForUID()
684 return clang_ast_ctx->CreateDeclContext(decl_context); in GetDeclContextForUID()
711 auto decl_context = pdb->GetDeclContextContainingSymbol(*symbol); in GetDeclContextContainingUID() local
712 assert(decl_context); in GetDeclContextContainingUID()
714 return clang_ast_ctx->CreateDeclContext(decl_context); in GetDeclContextContainingUID()
1700 clang::DeclContext *decl_context = nullptr; in FindNamespace() local
1702 decl_context = static_cast<clang::DeclContext *>( in FindNamespace()
1706 pdb->FindNamespaceDecl(decl_context, name.GetStringRef()); in FindNamespace()
H A DPDBASTParser.h58 void ParseDeclsForDeclContext(const clang::DeclContext *decl_context);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp125 CompilerDeclContext decl_context = function_block->GetDeclContext(); in ScanContext() local
127 if (!decl_context) { in ScanContext()
153 TypeSystemClang::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext()
183 decl_context)) { in ScanContext()
215 TypeSystemClang::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext()
223 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
H A DClangASTImporter.cpp109 clang::DeclContext *decl_context; member
190 for (DeclContext *decl_context = decl->getLexicalDeclContext(); in OverrideAllDeclsFromContainingFunction() local
191 decl_context; decl_context = decl_context->getLexicalParent()) { in OverrideAllDeclsFromContainingFunction()
192 DeclContext *redecl_context = decl_context->getRedeclContext(); in OverrideAllDeclsFromContainingFunction()
196 for (clang::Decl *child_decl : decl_context->decls()) { in OverrideAllDeclsFromContainingFunction()
205 backup.first->setDeclContext(backup.second.decl_context); in ~DeclContextOverride()
H A DClangASTSource.cpp369 const DeclContext *decl_context, in FindExternalLexicalDecls() argument
375 const Decl *context_decl = dyn_cast<Decl>(decl_context); in FindExternalLexicalDecls()
493 decl_context->setHasExternalLexicalStorage(true); in FindExternalLexicalDecls()
497 const_cast<DeclContext *>(decl_context)->setMustBuildLookupTable(); in FindExternalLexicalDecls()
H A DClangExpressionDeclMap.cpp1065 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable() local
1066 if (!decl_context) in LookupLocalVariable()
1080 decl_context.FindDeclByName(name, namespace_decl.IsValid()); in LookupLocalVariable()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.h59 CompilerDeclContext decl_context) = 0;
H A DDWARFASTParserClang.cpp2307 lldb_private::CompilerDeclContext decl_context) { in EnsureAllDIEsInDeclContextHaveBeenParsed() argument
2309 (clang::DeclContext *)decl_context.GetOpaqueDeclContext(); in EnsureAllDIEsInDeclContextHaveBeenParsed()
3362 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3366 decl_context, GetOwningClangModule(die), name, in GetClangDeclForDIE()
3377 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3397 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3404 decl_context, OptionalClangModuleID(), ns_decl); in GetClangDeclForDIE()
3550 CompilerDeclContext decl_context = in GetDeclContextForBlock() local
3552 return (clang::DeclContext *)decl_context.GetOpaqueDeclContext(); in GetDeclContextForBlock()
3562 clang::DeclContext *decl_context = in ResolveBlockDIE() local
[all …]
H A DDWARFASTParserClang.h72 lldb_private::CompilerDeclContext decl_context) override;
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp401 auto decl_context = GetCompilerContext(); in GetDescription() local
403 if (decl_context.size()) in GetDescription()
404 decl_context.pop_back(); in GetDescription()
405 llvm::interleaveComma(decl_context, *s, [&](auto &ctx) { ctx.Dump(*s); }); in GetDescription()
H A DSymtab.cpp394 llvm::StringRef decl_context = rmc.ParseFunctionDeclContextName(); in RegisterMangledNameEntry() local
397 if (decl_context.empty()) { in RegisterMangledNameEntry()
411 const char *decl_context_ccstr = ConstString(decl_context).GetCString(); in RegisterMangledNameEntry()
437 const NameToIndexMap::Entry &entry, const char *decl_context, in RegisterBacklogEntry() argument
441 auto it = class_contexts.find(decl_context); in RegisterBacklogEntry()
H A DType.cpp1183 auto decl_context = type_system->GetCompilerDeclContextForType(m_static_type); in FindDirectNestedType() local
1184 if (!decl_context.IsValid()) in FindDirectNestedType()
1186 TypeQuery query(decl_context, ConstString(name), in FindDirectNestedType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h257 clang::DeclContext *decl_context = nullptr) {
263 if (!decl_context)
264 decl_context = ast.getTranslationUnitDecl();
269 clang::DeclContext::lookup_result result = decl_context->lookup(myName);
1091 clang::VarDecl *CreateVariableDeclaration(clang::DeclContext *decl_context,
H A DTypeSystemClang.cpp1383 DeclContext *const decl_context = in CreateTemplateParameterList() local
1419 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
2032 if (decl_context) { in CreateVariableDeclaration()
2035 var_decl->setDeclContext(decl_context); in CreateVariableDeclaration()
2041 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
2561 if (auto *decl_context = GetDeclContextForType(type)) in GetCompilerDeclContextForType() local
2562 return CreateDeclContext(decl_context); in GetCompilerDeclContextForType()
9086 for (clang::DeclContext *decl_context = root_decl_ctx; in DeclContextFindDeclByName() local
9087 decl_context != nullptr && found_decls.empty(); in DeclContextFindDeclByName()
9088 decl_context = decl_context->getParent()) { in DeclContextFindDeclByName()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DSymtab.h351 const char *decl_context,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1145 clang::DeclContext *decl_context = nullptr; in CreateEnumType() local
1147 std::tie(decl_context, uname) = CreateDeclInfoForType(er, id.index); in CreateEnumType()
1148 if (!decl_context) in CreateEnumType()
1157 uname, decl_context, OptionalClangModuleID(), declaration, in CreateEnumType()