Home
last modified time | relevance | path

Searched refs:m_decl_context (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.h37 const clang::DeclContext *m_decl_context; member
69 m_decl_name(name), m_decl_context(dc) { in NameSearchContext()
H A DNameSearchContext.cpp32 ast, const_cast<DeclContext *>(m_decl_context), SourceLocation(), in AddVarDecl()
64 clang::DeclContext *context = const_cast<DeclContext *>(m_decl_context); in AddFunDecl()
H A DClangASTSource.cpp527 if (!context.m_decl_context) in FindExternalVisibleDecls()
533 dyn_cast<NamedDecl>(context.m_decl_context)) in FindExternalVisibleDecls()
544 context.m_decl_context->getDeclKindName()); in FindExternalVisibleDecls()
547 if (isa<NamespaceDecl>(context.m_decl_context)) { in FindExternalVisibleDecls()
549 } else if (isa<ObjCInterfaceDecl>(context.m_decl_context)) { in FindExternalVisibleDecls()
551 } else if (!isa<TranslationUnitDecl>(context.m_decl_context)) { in FindExternalVisibleDecls()
935 const DeclContext *decl_ctx(context.m_decl_context); in FindObjCMethodDecls()
1262 cast<ObjCInterfaceDecl>(context.m_decl_context)); in FindObjCPropertyAndIvarDecls()
1393 dyn_cast<NamespaceDecl>(context.m_decl_context); in LookupInNamespace()
H A DClangExpressionDeclMap.cpp679 if (!context.m_decl_context) in FindExternalVisibleDecls()
685 dyn_cast<NamedDecl>(context.m_decl_context)) in FindExternalVisibleDecls()
694 name, context.m_decl_context->getDeclKindName()); in FindExternalVisibleDecls()
698 dyn_cast<NamespaceDecl>(context.m_decl_context)) { in FindExternalVisibleDecls()
703 const_cast<clang::DeclContext *>(context.m_decl_context)); in FindExternalVisibleDecls()
723 } else if (isa<TranslationUnitDecl>(context.m_decl_context)) { in FindExternalVisibleDecls()