Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp323 const clang::DeclContext &decl_context, in GetDeclFromContextByName() argument
396 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
404 ConstString(name), decl_context); in CreateLLDBTypeFromPDBType()
472 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
477 ConstString(name), decl_context); in CreateLLDBTypeFromPDBType()
502 ast_enum = m_ast.CreateEnumerationType(name, decl_context, in CreateLLDBTypeFromPDBType()
907 assert(decl_context); in GetDeclForSymbol()
929 decl_context, OptionalClangModuleID(), name.c_str(), in GetDeclForSymbol()
942 assert(decl_context); in GetDeclForSymbol()
955 decl_context, OptionalClangModuleID(), name, in GetDeclForSymbol()
[all …]
H A DSymbolFilePDB.cpp673 auto decl_context = pdb->GetDeclContextForSymbol(*symbol); in GetDeclContextForUID() local
674 if (!decl_context) in GetDeclContextForUID()
677 return clang_ast_ctx->CreateDeclContext(decl_context); in GetDeclContextForUID()
703 auto decl_context = pdb->GetDeclContextContainingSymbol(*symbol); in GetDeclContextContainingUID() local
704 assert(decl_context); in GetDeclContextContainingUID()
706 return clang_ast_ctx->CreateDeclContext(decl_context); in GetDeclContextContainingUID()
1704 clang::DeclContext *decl_context = nullptr; in FindNamespace() local
1706 decl_context = static_cast<clang::DeclContext *>( in FindNamespace()
1710 pdb->FindNamespaceDecl(decl_context, name.GetStringRef()); in FindNamespace()
H A DPDBASTParser.h58 void ParseDeclsForDeclContext(const clang::DeclContext *decl_context);
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp126 CompilerDeclContext decl_context = function_block->GetDeclContext(); in ScanContext() local
128 if (!decl_context) { in ScanContext()
154 TypeSystemClang::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext()
184 decl_context)) { in ScanContext()
216 TypeSystemClang::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext()
224 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.cpp387 const DeclContext *decl_context, in FindExternalLexicalDecls() argument
393 const Decl *context_decl = dyn_cast<Decl>(decl_context); in FindExternalLexicalDecls()
511 decl_context->setHasExternalLexicalStorage(true); in FindExternalLexicalDecls()
515 const_cast<DeclContext *>(decl_context)->setMustBuildLookupTable(); in FindExternalLexicalDecls()
H A DClangExpressionDeclMap.cpp1069 CompilerDeclContext decl_context = sym_ctx.block->GetDeclContext(); in LookupLocalVariable() local
1070 if (!decl_context) in LookupLocalVariable()
1084 decl_context.FindDeclByName(name, namespace_decl.IsValid()); in LookupLocalVariable()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.h53 lldb_private::CompilerDeclContext decl_context) = 0;
H A DDWARFASTParserClang.cpp142 llvm::SmallVector<CompilerContext, 4> decl_context; in ParseTypeFromClangModule() local
143 die.GetDeclContext(decl_context); in ParseTypeFromClangModule()
164 module.GetSymbolFile()->FindTypes(decl_context, languages, in ParseTypeFromClangModule()
2181 lldb_private::CompilerDeclContext decl_context) { in EnsureAllDIEsInDeclContextHaveBeenParsed() argument
3146 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3150 decl_context, GetOwningClangModule(die), name, in GetClangDeclForDIE()
3161 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3181 clang::DeclContext *decl_context = in GetClangDeclForDIE() local
3188 decl_context, OptionalClangModuleID(), ns_decl); in GetClangDeclForDIE()
3329 CompilerDeclContext decl_context = in GetDeclContextForBlock() local
[all …]
H A DDWARFASTParserClang.h61 lldb_private::CompilerDeclContext decl_context) override;
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h255 clang::DeclContext *decl_context = nullptr) {
260 if (!decl_context)
261 decl_context = ast.getTranslationUnitDecl();
267 clang::DeclContext::lookup_result result = decl_context->lookup(myName);
1012 clang::VarDecl *CreateVariableDeclaration(clang::DeclContext *decl_context,
H A DTypeSystemClang.cpp1381 DeclContext *const decl_context = in CreateTemplateParameterList() local
1393 ast, decl_context, SourceLocation(), SourceLocation(), depth, i, in CreateTemplateParameterList()
1414 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1420 ast, decl_context, SourceLocation(), SourceLocation(), depth, in CreateTemplateParameterList()
1992 if (decl_context) { in CreateVariableDeclaration()
1995 var_decl->setDeclContext(decl_context); in CreateVariableDeclaration()
2001 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
9484 for (clang::DeclContext *decl_context = root_decl_ctx; in DeclContextFindDeclByName() local
9485 decl_context != nullptr && found_decls.empty(); in DeclContextFindDeclByName()
9486 decl_context = decl_context->getParent()) { in DeclContextFindDeclByName()
[all …]
/llvm-project-15.0.7/lldb/source/Symbol/
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()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DSymtab.h348 const char *decl_context,
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1402 clang::DeclContext *decl_context = nullptr; in CreateEnumType() local
1404 std::tie(decl_context, uname) = CreateDeclInfoForType(er, id.index); in CreateEnumType()
1405 if (!decl_context) in CreateEnumType()
1414 uname, decl_context, OptionalClangModuleID(), declaration, in CreateEnumType()
/llvm-project-15.0.7/llvm/lib/Target/
H A DREADME.txt922 %tmp = icmp eq i32 %decl_context, 4
923 %decl_context_addr.0 = select i1 %tmp, i32 3, i32 %decl_context
928 (!tmp || decl_context == 1)