Searched refs:decl_ctx (Results 1 - 23 of 23) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTDumper.cpp22 clang::DeclContext *decl_ctx = llvm::dyn_cast<clang::DeclContext>(decl); local
27 if (decl_ctx)
29 has_external_lexical_storage = decl_ctx->hasExternalLexicalStorage();
30 has_external_visible_storage = decl_ctx->hasExternalVisibleStorage();
31 decl_ctx->setHasExternalLexicalStorage(false);
32 decl_ctx->setHasExternalVisibleStorage(false);
39 if (decl_ctx)
41 decl_ctx->setHasExternalLexicalStorage(has_external_lexical_storage);
42 decl_ctx->setHasExternalVisibleStorage(has_external_visible_storage);
46 ASTDumper::ASTDumper (clang::DeclContext *decl_ctx) argument
[all...]
H A DASTDumper.h26 ASTDumper (clang::DeclContext *decl_ctx);
H A DClangASTSource.cpp92 const DeclContext *decl_ctx,
98 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
104 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
122 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
136 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
145 NameSearchContext method_search_context (*this, method_decls, clang_decl_name, decl_ctx);
149 SetExternalVisibleDeclsForName (decl_ctx, clang_decl_name, method_decls);
156 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
171 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
182 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_nam
90 FindExternalVisibleDeclsByName( const DeclContext *decl_ctx, DeclarationName clang_decl_name ) argument
234 DeclContext *decl_ctx = tag_decl->getDeclContext(); local
[all...]
H A DClangExpressionDeclMap.cpp1631 CompilerDeclContext decl_ctx = sym_ctx.function->GetDeclContext(); local
1633 if (!decl_ctx)
1637 if (decl_ctx.IsClassMethod(nullptr, nullptr, nullptr))
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Symbol/
H A DClangExternalASTSourceCallbacks.cpp52 const clang::DeclContext *decl_ctx,
60 m_callback_find_by_name (m_callback_baton, decl_ctx, clang_decl_name, &results);
62 SetExternalVisibleDeclsForName(decl_ctx, clang_decl_name, results);
72 //printf ("ClangExternalASTSourceCallbacks::FindExternalVisibleDeclsByName(decl_ctx = %p, decl_name = { kind = \"Identifier\", name = \"%s\")\n", decl_ctx, decl_name.c_str());
75 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
81 //printf ("ClangExternalASTSourceCallbacks::FindExternalVisibleDeclsByName(decl_ctx = %p, decl_name = { kind = \"ObjCZeroArgSelector\", name = \"%s\")\n", decl_ctx, decl_name.c_str());
82 SetNoExternalVisibleDeclsForName(decl_ctx, clang_decl_name);
86 //printf ("ClangExternalASTSourceCallbacks::FindExternalVisibleDeclsByName(decl_ctx
50 FindExternalVisibleDeclsByName( const clang::DeclContext *decl_ctx, clang::DeclarationName clang_decl_name ) argument
165 FindExternalLexicalDecls(const clang::DeclContext *decl_ctx, llvm::function_ref<bool(clang::Decl::Kind)> IsKindWeWant, llvm::SmallVectorImpl<clang::Decl *> &decls) argument
[all...]
H A DClangASTContext.cpp1347 ClangASTContext::CreateRecordType (DeclContext *decl_ctx, argument
1357 if (decl_ctx == nullptr)
1358 decl_ctx = ast->getTranslationUnitDecl();
1365 return CreateObjCClass (name, decl_ctx, isForwardDecl, isInternal, metadata);
1378 decl_ctx,
1394 if (decl_ctx)
1395 decl_ctx->addDecl (decl);
1455 ClangASTContext::CreateFunctionTemplateDecl (clang::DeclContext *decl_ctx, argument
1469 decl_ctx,
1502 ClangASTContext::CreateClassTemplateDecl (DeclContext *decl_ctx, argument
1579 CreateClassTemplateSpecializationDecl(DeclContext *decl_ctx, ClassTemplateDecl *class_template_decl, int kind, const TemplateParameterInfos &template_param_infos) argument
1738 CreateObjCClass( const char *name, DeclContext *decl_ctx, bool isForwardDecl, bool isInternal, ClangASTMetadata *metadata ) argument
1807 GetUniqueNamespaceDeclaration(const char *name, DeclContext *decl_ctx) argument
1918 CreateUsingDirectiveDeclaration(clang::DeclContext *decl_ctx, clang::NamespaceDecl *ns_decl) argument
1983 CreateFunctionDeclaration(DeclContext *decl_ctx, const char *name, const CompilerType &function_clang_type, int storage, bool is_inline) argument
2144 CreateEnumerationType( const char *name, DeclContext *decl_ctx, const Declaration &decl, const CompilerType &integer_clang_type ) argument
2283 DumpDeclContextHiearchy(clang::DeclContext *decl_ctx) argument
2944 clang::DeclContext* decl_ctx = ClangASTContext::GetASTContext(getASTContext())->GetDeclContextForType(GetQualType(type)); local
4496 clang::DeclContext *decl_ctx = ClangASTContext::DeclContextGetAsDeclContext(compiler_decl_ctx); local
4613 clang::DeclContext *decl_ctx = ClangASTContext::DeclContextGetAsDeclContext(compiler_decl_ctx); local
[all...]
H A DClangASTImporter.cpp166 for (DeclContext *decl_ctx = (decl->*contextFromDecl)();
167 decl_ctx;
168 decl_ctx = (decl_ctx->*contextFromContext)())
170 if (decl_ctx == base)
H A DTypeSystem.cpp95 TypeSystem::CreateTypedef (lldb::opaque_compiler_type_t type, const char *name, const CompilerDeclContext &decl_ctx) argument
H A DSymbolContext.cpp687 CompilerDeclContext decl_ctx = function_block->GetDeclContext(); local
688 if (decl_ctx)
689 return decl_ctx.IsClassMethod(&language, &is_instance_method, &language_object_name);
H A DCompilerType.cpp595 CompilerType::CreateTypedef (const char *name, const CompilerDeclContext &decl_ctx) const
598 return m_type_system->CreateTypedef(m_type, name, decl_ctx);
/freebsd-11.0-release/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DCompilerDeclContext.h32 CompilerDeclContext (TypeSystem *type_system, void *decl_ctx) : argument
34 m_opaque_decl_ctx (decl_ctx)
115 SetDeclContext (TypeSystem* type_system, void* decl_ctx) argument
118 m_opaque_decl_ctx = decl_ctx;
H A DClangExternalASTSourceCallbacks.h96 MaterializeVisibleDecls (const clang::DeclContext *decl_ctx) argument
105 bool FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, clang::DeclarationName decl_name) override;
H A DClangASTContext.h159 DumpDeclContextHiearchy (clang::DeclContext *decl_ctx);
319 CreateRecordType(clang::DeclContext *decl_ctx,
350 CreateFunctionTemplateDecl (clang::DeclContext *decl_ctx,
361 CreateClassTemplateDecl (clang::DeclContext *decl_ctx,
368 CreateClassTemplateSpecializationDecl (clang::DeclContext *decl_ctx,
401 clang::DeclContext *decl_ctx,
423 clang::DeclContext *decl_ctx);
430 CreateFunctionDeclaration (clang::DeclContext *decl_ctx,
483 clang::DeclContext *decl_ctx,
765 // as the name and "decl_ctx" a
[all...]
H A DSymbolFile.h134 virtual void ParseDeclsForContext (CompilerDeclContext decl_ctx) {} argument
H A DCompilerType.h352 CreateTypedef (const char *name, const CompilerDeclContext &decl_ctx) const;
H A DTypeSystem.h304 CreateTypedef (lldb::opaque_compiler_type_t type, const char *name, const CompilerDeclContext &decl_ctx);
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp34 FindExternalVisibleDeclsByName(const clang::DeclContext *decl_ctx, clang::DeclarationName name) override
45 static_cast<void*>(&decl_ctx->getParentASTContext()),
46 name.getAsString().c_str(), decl_ctx->getDeclKindName(),
47 static_cast<const void*>(decl_ctx));
52 const clang::ObjCInterfaceDecl *interface_decl = llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx);
68 SetNoExternalVisibleDeclsForName(decl_ctx, name);
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp212 dwarf->GetObjectFile()->GetModule()->LogMessage (log, "SymbolFileDWARF::ParseType (die = 0x%8.8x, decl_ctx = %p (die 0x%8.8x)) %s name = '%s')",
730 clang::DeclContext *decl_ctx = GetClangDeclContextContainingDIE (die, nullptr); local
731 if (accessibility == eAccessNone && decl_ctx)
735 const clang::Decl::Kind containing_decl_kind = decl_ctx->getDeclKind();
749 clang::ClassTemplateDecl *class_template_decl = m_ast.ParseClassTemplateDecl (decl_ctx,
755 clang::ClassTemplateSpecializationDecl *class_specialization_decl = m_ast.CreateClassTemplateSpecializationDecl (decl_ctx,
770 clang_type = m_ast.CreateRecordType (decl_ctx,
2490 DWARFDeclContext decl_ctx; local
2493 die.GetDWARFDeclContext(decl_ctx);
2494 sstr << decl_ctx
3547 clang::DeclContext *decl_ctx = GetCachedClangDeclContextForDIE (die); local
3692 LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die) argument
[all...]
H A DDWARFASTParserClang.h178 LinkDeclContextToDIE (clang::DeclContext *decl_ctx,
H A DSymbolFileDWARF.cpp1431 SymbolFileDWARF::ParseDeclsForContext (CompilerDeclContext decl_ctx) argument
1433 TypeSystem *type_system = decl_ctx.GetTypeSystem();
1435 std::vector<DWARFDIE> decl_ctx_die_list = ast_parser->GetDIEForDeclContext(decl_ctx);
2185 SymbolFileDWARF::DeclContextMatchesThisSymbolFile (const lldb_private::CompilerDeclContext *decl_ctx) argument
2187 if (decl_ctx == nullptr || !decl_ctx->IsValid())
2195 TypeSystem *decl_ctx_type_system = decl_ctx->GetTypeSystem();
2547 SymbolFileDWARF::DIEInDeclContext (const CompilerDeclContext *decl_ctx, argument
2553 if (decl_ctx == nullptr || !decl_ctx
2730 CompilerDeclContext decl_ctx = GetDeclContextContainingUID (type->GetID()); local
4201 DWARFDeclContext decl_ctx; local
[all...]
H A DSymbolFileDWARF.h169 ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) override;
351 DeclContextMatchesThisSymbolFile (const lldb_private::CompilerDeclContext *decl_ctx);
H A DSymbolFileDWARFDebugMap.h76 void ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) override;
H A DSymbolFileDWARFDebugMap.cpp1444 SymbolFileDWARFDebugMap::ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) argument
1447 oso_dwarf->ParseDeclsForContext (decl_ctx);

Completed in 278 milliseconds