Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp330 const clang::DeclContext &decl_context, in GetDeclFromContextByName() argument
334 clang::DeclContext::lookup_result result = decl_context.lookup(decl_name); in GetDeclFromContextByName()
403 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
411 m_ast.GetTypeForIdentifier<clang::CXXRecordDecl>(name, decl_context); in CreateLLDBTypeFromPDBType()
422 decl_context, OptionalClangModuleID(), access, name, tag_type_kind, in CreateLLDBTypeFromPDBType()
478 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
483 m_ast.GetTypeForIdentifier<clang::EnumDecl>(name, decl_context); in CreateLLDBTypeFromPDBType()
508 ast_enum = m_ast.CreateEnumerationType(name, decl_context, in CreateLLDBTypeFromPDBType()
907 auto decl_context = GetDeclContextContainingSymbol(symbol); in GetDeclForSymbol() local
908 assert(decl_context); in GetDeclForSymbol()
[all …]
H A DSymbolFilePDB.cpp666 auto decl_context = pdb->GetDeclContextForSymbol(*symbol); in GetDeclContextForUID() local
667 if (!decl_context) in GetDeclContextForUID()
670 return clang_ast_ctx->CreateDeclContext(decl_context); in GetDeclContextForUID()
697 auto decl_context = pdb->GetDeclContextContainingSymbol(*symbol); in GetDeclContextContainingUID() local
698 assert(decl_context); in GetDeclContextContainingUID()
700 return clang_ast_ctx->CreateDeclContext(decl_context); in GetDeclContextContainingUID()
1685 clang::DeclContext *decl_context = nullptr; in FindNamespace() local
1687 decl_context = static_cast<clang::DeclContext *>( in FindNamespace()
1691 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, in ScanContext()
H A DClangASTImporter.cpp111 clang::DeclContext *decl_context; member
192 for (DeclContext *decl_context = decl->getLexicalDeclContext(); in OverrideAllDeclsFromContainingFunction() local
193 decl_context; decl_context = decl_context->getLexicalParent()) { in OverrideAllDeclsFromContainingFunction()
194 DeclContext *redecl_context = decl_context->getRedeclContext(); in OverrideAllDeclsFromContainingFunction()
198 for (clang::Decl *child_decl : decl_context->decls()) { in OverrideAllDeclsFromContainingFunction()
207 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.cpp1062 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable() local
1063 if (!decl_context) in LookupLocalVariable()
1077 decl_context.FindDeclByName(name, namespace_decl.IsValid()); in LookupLocalVariable()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp413 auto decl_context = GetCompilerContext(); in GetDescription() local
415 if (decl_context.size()) in GetDescription()
416 decl_context.pop_back(); in GetDescription()
417 llvm::interleaveComma(decl_context, *s, [&](auto &ctx) { ctx.Dump(*s); }); in GetDescription()
H A DSymtab.cpp406 llvm::StringRef decl_context = rmc.ParseFunctionDeclContextName(); in RegisterMangledNameEntry() local
409 if (decl_context.empty()) { in RegisterMangledNameEntry()
423 const char *decl_context_ccstr = ConstString(decl_context).GetCString(); in RegisterMangledNameEntry()
449 const NameToIndexMap::Entry &entry, const char *decl_context, in RegisterBacklogEntry() argument
453 auto it = class_contexts.find(decl_context); in RegisterBacklogEntry()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.h59 CompilerDeclContext decl_context) = 0;
H A DDWARFASTParserClang.cpp2327 lldb_private::CompilerDeclContext decl_context) { in EnsureAllDIEsInDeclContextHaveBeenParsed() argument
2329 (clang::DeclContext *)decl_context.GetOpaqueDeclContext(); in EnsureAllDIEsInDeclContextHaveBeenParsed()
3299 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3303 decl_context, GetOwningClangModule(die), name, in GetClangDeclForDIE()
3314 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3321 decl_context, OptionalClangModuleID(), clang_imported_decl); in GetClangDeclForDIE()
3334 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3341 decl_context, OptionalClangModuleID(), ns_decl); in GetClangDeclForDIE()
3487 CompilerDeclContext decl_context = in GetDeclContextForBlock() local
3489 return (clang::DeclContext *)decl_context.GetOpaqueDeclContext(); in GetDeclContextForBlock()
[all …]
H A DDWARFASTParserClang.h73 lldb_private::CompilerDeclContext decl_context) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h264 clang::DeclContext *decl_context = nullptr) {
270 if (!decl_context)
271 decl_context = ast.getTranslationUnitDecl();
276 clang::DeclContext::lookup_result result = decl_context->lookup(myName);
1136 clang::VarDecl *CreateVariableDeclaration(clang::DeclContext *decl_context,
H A DTypeSystemClang.cpp1362 DeclContext *const decl_context = in CreateTemplateParameterList() local
1377 ast, decl_context, SourceLocation(), SourceLocation(), depth, i, in CreateTemplateParameterList()
1382 ast, decl_context, SourceLocation(), SourceLocation(), depth, i, in CreateTemplateParameterList()
1399 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1405 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
2001 clang::DeclContext *decl_context, OptionalClangModuleID owning_module, in CreateVariableDeclaration() argument
2003 if (decl_context) { in CreateVariableDeclaration()
2006 var_decl->setDeclContext(decl_context); in CreateVariableDeclaration()
2012 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
2542 if (auto *decl_context = GetDeclContextForType(type)) in GetCompilerDeclContextForType() local
[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()