#include <AppleObjCDeclVendor.h>
|
| AppleObjCDeclVendor (ObjCLanguageRuntime &runtime) |
|
uint32_t | FindDecls (ConstString name, bool append, uint32_t max_matches, std::vector< CompilerDecl > &decls) override |
| Look up the set of Decls that the DeclVendor currently knows about matching a given name.
|
|
| ClangDeclVendor (DeclVendorKind kind) |
|
| ~ClangDeclVendor () override=default |
|
uint32_t | FindDecls (ConstString name, bool append, uint32_t max_matches, std::vector< clang::NamedDecl * > &decls) |
|
virtual uint32_t | FindDecls (ConstString name, bool append, uint32_t max_matches, std::vector< CompilerDecl > &decls)=0 |
| Look up the set of Decls that the DeclVendor currently knows about matching a given name.
|
|
| DeclVendor (DeclVendorKind kind) |
|
virtual | ~DeclVendor ()=default |
|
DeclVendorKind | GetKind () const |
|
virtual uint32_t | FindDecls (ConstString name, bool append, uint32_t max_matches, std::vector< CompilerDecl > &decls)=0 |
| Look up the set of Decls that the DeclVendor currently knows about matching a given name.
|
|
std::vector< CompilerType > | FindTypes (ConstString name, uint32_t max_matches) |
| Look up the types that the DeclVendor currently knows about matching a given name.
|
|
Definition at line 22 of file AppleObjCDeclVendor.h.
◆ ISAToInterfaceMap
◆ AppleObjCDeclVendor()
◆ classof()
static bool lldb_private::AppleObjCDeclVendor::classof |
( |
const DeclVendor * |
vendor | ) |
|
|
inlinestatic |
◆ FindDecls()
uint32_t AppleObjCDeclVendor::FindDecls |
( |
ConstString |
name, |
|
|
bool |
append, |
|
|
uint32_t |
max_matches, |
|
|
std::vector< CompilerDecl > & |
decls |
|
) |
| |
|
overridevirtual |
Look up the set of Decls that the DeclVendor currently knows about matching a given name.
- Parameters
-
[in] | name | The name to look for. |
[in] | append | If true, FindDecls will clear "decls" when it starts. |
[in] | max_matches | The maximum number of Decls to return. UINT32_MAX means "as
many as possible." |
- Returns
- The number of Decls added to decls; will not exceed max_matches.
Implements lldb_private::DeclVendor.
Definition at line 525 of file AppleObjCDeclVendor.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Expressions, GetDeclForISA(), lldb_private::ObjCLanguageRuntime::GetISA(), lldb_private::GetLog(), lldb_private::ConstString::GetStringRef(), LLDB_INVALID_ADDRESS, LLDB_LOG, LLDB_LOGF, m_ast_ctx, and m_runtime.
◆ FinishDecl()
bool AppleObjCDeclVendor::FinishDecl |
( |
clang::ObjCInterfaceDecl * |
decl | ) |
|
|
private |
Definition at line 397 of file AppleObjCDeclVendor.cpp.
References ObjCRuntimeMethodType::BuildMethod(), lldb_private::ClangUtil::DumpDecl(), lldb_private::Expressions, FinishDecl(), lldb_private::ObjCLanguageRuntime::GetClassDescriptorFromISA(), GetDeclForISA(), lldb_private::ObjCLanguageRuntime::GetEncodingToType(), lldb_private::GetLog(), lldb_private::ClangUtil::GetQualType(), lldb_private::CompilerType::IsValid(), LLDB_LOG, LLDB_LOGF, m_ast_ctx, m_runtime, and m_type_realizer_sp.
Referenced by lldb_private::AppleObjCExternalASTSource::CompleteType(), lldb_private::AppleObjCExternalASTSource::FindExternalVisibleDeclsByName(), and FinishDecl().
◆ GetDeclForISA()
◆ AppleObjCExternalASTSource
◆ m_ast_ctx
std::shared_ptr<TypeSystemClang> lldb_private::AppleObjCDeclVendor::m_ast_ctx |
|
private |
◆ m_external_source
◆ m_isa_to_interface
◆ m_runtime
◆ m_type_realizer_sp
The documentation for this class was generated from the following files: