Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp321 const clang::DeclContext &decl_context, in GetDeclFromContextByName() argument
394 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
402 ConstString(name), decl_context); in CreateLLDBTypeFromPDBType()
470 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
475 ConstString(name), decl_context); in CreateLLDBTypeFromPDBType()
902 auto decl_context = GetDeclContextContainingSymbol(symbol); in GetDeclForSymbol() local
903 assert(decl_context); in GetDeclForSymbol()
925 decl_context, OptionalClangModuleID(), name.c_str(), in GetDeclForSymbol()
938 assert(decl_context); in GetDeclForSymbol()
951 decl_context, OptionalClangModuleID(), name, in GetDeclForSymbol()
[all …]
H A DSymbolFilePDB.cpp667 auto decl_context = pdb->GetDeclContextForSymbol(*symbol); in GetDeclContextForUID() local
668 if (!decl_context) in GetDeclContextForUID()
671 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()
1697 clang::DeclContext *decl_context = nullptr; in FindNamespace() local
1699 decl_context = static_cast<clang::DeclContext *>( in FindNamespace()
1703 pdb->FindNamespaceDecl(decl_context, name.GetStringRef()); in FindNamespace()
H A DPDBASTParser.h58 void ParseDeclsForDeclContext(const clang::DeclContext *decl_context);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp129 CompilerDeclContext decl_context = function_block->GetDeclContext(); in ScanContext() local
131 if (!decl_context) { in ScanContext()
157 TypeSystemClang::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext()
187 decl_context)) { in ScanContext()
219 TypeSystemClang::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext()
227 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.cpp386 const DeclContext *decl_context, in FindExternalLexicalDecls() argument
392 const Decl *context_decl = dyn_cast<Decl>(decl_context); in FindExternalLexicalDecls()
501 decl_context->setHasExternalLexicalStorage(true); in FindExternalLexicalDecls()
505 const_cast<DeclContext *>(decl_context)->setMustBuildLookupTable(); in FindExternalLexicalDecls()
H A DClangExpressionDeclMap.cpp1070 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable() local
1071 if (!decl_context) in LookupLocalVariable()
1085 decl_context.FindDeclByName(name, namespace_decl.IsValid()); in LookupLocalVariable()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.h51 lldb_private::CompilerDeclContext decl_context) = 0;
H A DDWARFASTParserClang.cpp154 llvm::SmallVector<CompilerContext, 4> decl_context; in ParseTypeFromClangModule() local
155 die.GetDeclContext(decl_context); in ParseTypeFromClangModule()
176 module.GetSymbolFile()->FindTypes(decl_context, languages, in ParseTypeFromClangModule()
2102 lldb_private::CompilerDeclContext decl_context) { in EnsureAllDIEsInDeclContextHaveBeenParsed() argument
3164 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3168 decl_context, GetOwningClangModule(die), name, in GetClangDeclForDIE()
3179 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3199 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3206 decl_context, OptionalClangModuleID(), ns_decl); in GetClangDeclForDIE()
3347 CompilerDeclContext decl_context = in GetDeclContextForBlock() local
[all …]
H A DDWARFASTParserClang.h60 lldb_private::CompilerDeclContext decl_context) override;
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h253 clang::DeclContext *decl_context = nullptr) {
258 if (!decl_context)
259 decl_context = ast.getTranslationUnitDecl();
265 clang::DeclContext::lookup_result result = decl_context->lookup(myName);
1018 clang::VarDecl *CreateVariableDeclaration(clang::DeclContext *decl_context,
H A DTypeSystemClang.cpp1375 DeclContext *const decl_context = in CreateTemplateParameterList() local
1387 ast, decl_context, SourceLocation(), SourceLocation(), depth, i, in CreateTemplateParameterList()
1408 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1414 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1988 if (decl_context) { in CreateVariableDeclaration()
1991 var_decl->setDeclContext(decl_context); in CreateVariableDeclaration()
1997 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
9387 for (clang::DeclContext *decl_context = root_decl_ctx; in DeclContextFindDeclByName() local
9388 decl_context != nullptr && found_decls.empty(); in DeclContextFindDeclByName()
9389 decl_context = decl_context->getParent()) { in DeclContextFindDeclByName()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DSymtab.cpp389 llvm::StringRef decl_context = rmc.GetBufferRef(); in RegisterMangledNameEntry() local
392 if (decl_context.empty()) { in RegisterMangledNameEntry()
406 const char *decl_context_ccstr = ConstString(decl_context).GetCString(); in RegisterMangledNameEntry()
432 const NameToIndexMap::Entry &entry, const char *decl_context, in RegisterBacklogEntry() argument
436 auto it = class_contexts.find(decl_context); in RegisterBacklogEntry()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DSymtab.h251 const char *decl_context,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1101 clang::DeclContext *decl_context = nullptr; in CreateEnumType() local
1103 std::tie(decl_context, uname) = CreateDeclInfoForType(er, id.index); in CreateEnumType()
1108 uname.c_str(), decl_context, OptionalClangModuleID(), declaration, in CreateEnumType()