LLDB  mainline
Public Member Functions | List of all members
lldb_private::DeclVendor Class Referenceabstract

#include <DeclVendor.h>

Inheritance diagram for lldb_private::DeclVendor:
Inheritance graph
[legend]

Public Member Functions

 DeclVendor ()
 
virtual ~DeclVendor ()
 
virtual uint32_t FindDecls (ConstString name, bool append, uint32_t max_matches, std::vector< clang::NamedDecl *> &decls)=0
 Look up the set of Decls that the DeclVendor currently knows about matching a given name. More...
 
virtual clang::ExternalASTMerger::ImporterSource GetImporterSource ()=0
 Interface for ExternalASTMerger. More...
 

Detailed Description

Definition at line 23 of file DeclVendor.h.

Constructor & Destructor Documentation

◆ DeclVendor()

lldb_private::DeclVendor::DeclVendor ( )
inline

Definition at line 26 of file DeclVendor.h.

◆ ~DeclVendor()

virtual lldb_private::DeclVendor::~DeclVendor ( )
inlinevirtual

Definition at line 28 of file DeclVendor.h.

References FindDecls(), and GetImporterSource().

Member Function Documentation

◆ FindDecls()

virtual uint32_t lldb_private::DeclVendor::FindDecls ( ConstString  name,
bool  append,
uint32_t  max_matches,
std::vector< clang::NamedDecl *> &  decls 
)
pure virtual

Look up the set of Decls that the DeclVendor currently knows about matching a given name.

Parameters
[in]nameThe name to look for.
[in]appendIf true, FindDecls will clear "decls" when it starts.
[in]max_matchesThe 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.

Implemented in lldb_private::AppleObjCDeclVendor.

Referenced by lldb_private::AppleObjCTypeEncodingParser::AppleObjCTypeEncodingParser(), lldb_private::ClangASTSource::FindExternalVisibleDecls(), lldb::SBTarget::FindFirstType(), lldb_private::ClangASTSource::FindObjCMethodDecls(), lldb_private::ClangASTSource::FindObjCPropertyAndIvarDecls(), lldb::SBTarget::FindTypes(), lldb_private::AppleObjCRuntimeV2::GetDynamicTypeAndAddress(), and ~DeclVendor().

◆ GetImporterSource()

virtual clang::ExternalASTMerger::ImporterSource lldb_private::DeclVendor::GetImporterSource ( )
pure virtual

Interface for ExternalASTMerger.

Returns an ImporterSource allowing type completion.

Returns
An ImporterSource for this DeclVendor.

Implemented in lldb_private::AppleObjCDeclVendor.

Referenced by lldb_private::ClangASTSource::InstallASTContext(), and ~DeclVendor().


The documentation for this class was generated from the following file: