Home
last modified time | relevance | path

Searched refs:decl_ctx (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTDumper.cpp22 clang::DeclContext *decl_ctx = llvm::dyn_cast<clang::DeclContext>(decl); in ASTDumper() local
27 if (decl_ctx) { in ASTDumper()
28 has_external_lexical_storage = decl_ctx->hasExternalLexicalStorage(); in ASTDumper()
29 has_external_visible_storage = decl_ctx->hasExternalVisibleStorage(); in ASTDumper()
30 decl_ctx->setHasExternalLexicalStorage(false); in ASTDumper()
31 decl_ctx->setHasExternalVisibleStorage(false); in ASTDumper()
38 if (decl_ctx) { in ASTDumper()
44 ASTDumper::ASTDumper(clang::DeclContext *decl_ctx) { in ASTDumper() argument
48 decl_ctx->setHasExternalLexicalStorage(false); in ASTDumper()
49 decl_ctx->setHasExternalVisibleStorage(false); in ASTDumper()
[all …]
H A DClangASTSource.cpp174 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
179 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
195 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
208 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
229 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
250 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
260 decl_ctx); in FindExternalVisibleDeclsByName()
310 DeclContext *decl_ctx = tag_decl->getDeclContext(); in CompleteType() local
313 dyn_cast<NamespaceDecl>(decl_ctx)) { in CompleteType()
1150 const DeclContext *decl_ctx(context.m_decl_context); in FindObjCMethodDecls() local
[all …]
H A DASTDumper.h24 ASTDumper(clang::DeclContext *decl_ctx);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangExternalASTSourceCallbacks.cpp47 const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() argument
52 m_callback_find_by_name(m_callback_baton, decl_ctx, clang_decl_name, in FindExternalVisibleDeclsByName()
55 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, results); in FindExternalVisibleDeclsByName()
61 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name); in FindExternalVisibleDeclsByName()
91 const clang::DeclContext *decl_ctx, in FindExternalLexicalDecls() argument
94 if (m_callback_tag_decl && decl_ctx) { in FindExternalLexicalDecls()
96 const_cast<clang::DeclContext *>(decl_ctx)); in FindExternalLexicalDecls()
H A DClangASTContext.cpp1478 if (decl_ctx == nullptr) in CreateRecordType()
1510 if (decl_ctx) in CreateRecordType()
1621 if (decl_ctx == nullptr) in CreateClassTemplateDecl()
1854 if (decl_ctx == nullptr) in CreateObjCClass()
1904 if (decl_ctx == nullptr) in GetUniqueNamespaceDeclaration()
2335 if (decl_ctx) in CreateEnumerationType()
2402 if (decl_ctx) { in DumpDeclContextHiearchy()
3040 if (!decl_ctx) in IsRuntimeGeneratedType()
10120 for (clang::DeclContext *decl_ctx = frame_decl_ctx; decl_ctx != nullptr; in CountDeclLevels() local
10121 decl_ctx = decl_ctx->getParent()) { in CountDeclLevels()
[all …]
H A DClangASTImporter.cpp155 for (DeclContext *decl_ctx = (decl->*contextFromDecl)(); decl_ctx; in ChainPassesThrough() local
156 decl_ctx = (decl_ctx->*contextFromContext)()) { in ChainPassesThrough()
157 if (decl_ctx == base) { in ChainPassesThrough()
H A DTypeSystem.cpp92 const CompilerDeclContext &decl_ctx) { in CreateTypedef() argument
H A DSymbolContext.cpp575 CompilerDeclContext decl_ctx = function_block->GetDeclContext(); in GetFunctionMethodInfo() local
576 if (decl_ctx) in GetFunctionMethodInfo()
577 return decl_ctx.IsClassMethod(&language, &is_instance_method, in GetFunctionMethodInfo()
H A DCompilerType.cpp479 const CompilerDeclContext &decl_ctx) const { in CreateTypedef()
481 return m_type_system->CreateTypedef(m_type, name, decl_ctx); in CreateTypedef()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DCompilerDeclContext.h27 CompilerDeclContext(TypeSystem *type_system, void *decl_ctx) in CompilerDeclContext() argument
28 : m_type_system(type_system), m_opaque_decl_ctx(decl_ctx) {} in CompilerDeclContext()
87 void SetDeclContext(TypeSystem *type_system, void *decl_ctx) { in SetDeclContext() argument
89 m_opaque_decl_ctx = decl_ctx; in SetDeclContext()
H A DClangASTContext.h137 static void DumpDeclContextHiearchy(clang::DeclContext *decl_ctx);
276 CompilerType CreateRecordType(clang::DeclContext *decl_ctx,
299 CreateFunctionTemplateDecl(clang::DeclContext *decl_ctx,
308 CreateClassTemplateDecl(clang::DeclContext *decl_ctx,
316 clang::DeclContext *decl_ctx,
364 clang::DeclContext *decl_ctx);
371 CreateFunctionDeclaration(clang::DeclContext *decl_ctx, const char *name,
428 clang::DeclContext *decl_ctx,
719 const CompilerDeclContext &decl_ctx) override;
975 clang::DeclContext *decl_ctx, lldb::AccessType access_type,
[all …]
H A DClangExternalASTSourceCallbacks.h84 virtual void MaterializeVisibleDecls(const clang::DeclContext *decl_ctx) {} in MaterializeVisibleDecls() argument
92 FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx,
H A DSymbolFile.h161 virtual void ParseDeclsForContext(CompilerDeclContext decl_ctx) {} in ParseDeclsForContext() argument
H A DCompilerType.h274 const CompilerDeclContext &decl_ctx) const;
H A DTypeSystem.h268 const CompilerDeclContext &decl_ctx);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp32 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, in FindExternalVisibleDeclsByName() argument
44 static_cast<void *>(&decl_ctx->getParentASTContext()), in FindExternalVisibleDeclsByName()
45 name.getAsString().c_str(), decl_ctx->getDeclKindName(), in FindExternalVisibleDeclsByName()
46 static_cast<const void *>(decl_ctx)); in FindExternalVisibleDeclsByName()
51 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
68 SetNoExternalVisibleDeclsForName(decl_ctx, name); in FindExternalVisibleDeclsByName()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp780 clang::DeclContext *decl_ctx = in ParseTypeFromDWARF() local
795 decl_ctx->getDeclKind(); in ParseTypeFromDWARF()
2617 DWARFDeclContext decl_ctx; in ParseFunctionFromDWARF() local
2620 die.GetDWARFDeclContext(decl_ctx); in ParseFunctionFromDWARF()
2621 sstr << decl_ctx.GetQualifiedName(); in ParseFunctionFromDWARF()
3667 if (decl_ctx) in GetClangDeclContextForDIE()
3668 return decl_ctx; in GetClangDeclContextForDIE()
3679 decl_ctx = ResolveNamespaceDIE(die); in GetClangDeclContextForDIE()
3698 if (decl_ctx) { in GetClangDeclContextForDIE()
3699 LinkDeclContextToDIE(decl_ctx, die); in GetClangDeclContextForDIE()
[all …]
H A DSymbolFileDWARF.cpp1304 void SymbolFileDWARF::ParseDeclsForContext(CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
1305 TypeSystem *type_system = decl_ctx.GetTypeSystem(); in ParseDeclsForContext()
1308 ast_parser->GetDIEForDeclContext(decl_ctx); in ParseDeclsForContext()
2044 const lldb_private::CompilerDeclContext *decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
2045 if (decl_ctx == nullptr || !decl_ctx->IsValid()) { in DeclContextMatchesThisSymbolFile()
2052 TypeSystem *decl_ctx_type_system = decl_ctx->GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
2279 if (decl_ctx == nullptr || !decl_ctx->IsValid()) in DIEInDeclContext()
2288 return actual_decl_ctx == *decl_ctx; in DIEInDeclContext()
3445 DWARFDeclContext decl_ctx; in ParseVariableDIE() local
3447 die.GetDWARFDeclContext(decl_ctx); in ParseVariableDIE()
[all …]
H A DDWARFASTParserClang.h125 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
H A DSymbolFileDWARF.h159 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
348 const lldb_private::CompilerDeclContext *decl_ctx);
H A DSymbolFileDWARFDebugMap.h91 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.h101 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;
241 const lldb_private::CompilerDeclContext *decl_ctx);
H A DSymbolFilePDB.cpp663 lldb_private::CompilerDeclContext decl_ctx) { in ParseDeclsForContext() argument
674 static_cast<clang::DeclContext *>(decl_ctx.GetOpaqueDeclContext())); in ParseDeclsForContext()
1916 const lldb_private::CompilerDeclContext *decl_ctx) { in DeclContextMatchesThisSymbolFile() argument
1917 if (decl_ctx == nullptr || !decl_ctx->IsValid()) in DeclContextMatchesThisSymbolFile()
1920 TypeSystem *decl_ctx_type_system = decl_ctx->GetTypeSystem(); in DeclContextMatchesThisSymbolFile()
H A DPDBASTParser.cpp545 auto decl_ctx = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local
550 decl_ctx); in CreateLLDBTypeFromPDBType()
555 target_ast_type, name.c_str(), CompilerDeclContext(&m_ast, decl_ctx)); in CreateLLDBTypeFromPDBType()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h81 ParseDeclsForContext(lldb_private::CompilerDeclContext decl_ctx) override;

12