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()
908 auto decl_context = GetDeclContextContainingSymbol(symbol); in GetDeclForSymbol() local
909 assert(decl_context); 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.cpp112 clang::DeclContext *decl_context; member
193 for (DeclContext *decl_context = decl->getLexicalDeclContext(); in OverrideAllDeclsFromContainingFunction() local
194 decl_context; decl_context = decl_context->getLexicalParent()) { in OverrideAllDeclsFromContainingFunction()
195 DeclContext *redecl_context = decl_context->getRedeclContext(); in OverrideAllDeclsFromContainingFunction()
199 for (clang::Decl *child_decl : decl_context->decls()) { in OverrideAllDeclsFromContainingFunction()
208 backup.first->setDeclContext(backup.second.decl_context); in ~DeclContextOverride()
H A DClangASTSource.cpp368 const DeclContext *decl_context, in FindExternalLexicalDecls() argument
374 const Decl *context_decl = dyn_cast<Decl>(decl_context); in FindExternalLexicalDecls()
492 decl_context->setHasExternalLexicalStorage(true); in FindExternalLexicalDecls()
496 const_cast<DeclContext *>(decl_context)->setMustBuildLookupTable(); in FindExternalLexicalDecls()
H A DClangExpressionDeclMap.cpp1063 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable() local
1064 if (!decl_context) in LookupLocalVariable()
1078 decl_context.FindDeclByName(name, namespace_decl.IsValid()); in LookupLocalVariable()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp402 auto decl_context = GetCompilerContext(); in GetDescription() local
404 if (decl_context.size()) in GetDescription()
405 decl_context.pop_back(); in GetDescription()
406 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.cpp2237 lldb_private::CompilerDeclContext decl_context) { in EnsureAllDIEsInDeclContextHaveBeenParsed() argument
2239 (clang::DeclContext *)decl_context.GetOpaqueDeclContext(); in EnsureAllDIEsInDeclContextHaveBeenParsed()
3292 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3296 decl_context, GetOwningClangModule(die), name, in GetClangDeclForDIE()
3307 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3314 decl_context, OptionalClangModuleID(), clang_imported_decl); in GetClangDeclForDIE()
3327 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3334 decl_context, OptionalClangModuleID(), ns_decl); in GetClangDeclForDIE()
3480 CompilerDeclContext decl_context = in GetDeclContextForBlock() local
3482 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.h262 clang::DeclContext *decl_context = nullptr) {
268 if (!decl_context)
269 decl_context = ast.getTranslationUnitDecl();
274 clang::DeclContext::lookup_result result = decl_context->lookup(myName);
1112 clang::VarDecl *CreateVariableDeclaration(clang::DeclContext *decl_context,
H A DTypeSystemClang.cpp1331 DeclContext *const decl_context = in CreateTemplateParameterList() local
1346 ast, decl_context, SourceLocation(), SourceLocation(), depth, i, in CreateTemplateParameterList()
1351 ast, decl_context, SourceLocation(), SourceLocation(), depth, i, in CreateTemplateParameterList()
1367 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1373 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1982 clang::DeclContext *decl_context, OptionalClangModuleID owning_module, in CreateVariableDeclaration() argument
1984 if (decl_context) { in CreateVariableDeclaration()
1987 var_decl->setDeclContext(decl_context); in CreateVariableDeclaration()
1993 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
2513 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()
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()
1144 clang::DeclContext *decl_context = nullptr; CreateEnumType() local