LLDB  mainline
Public Member Functions | Friends | List of all members
lldb_private::AppleObjCDeclVendor Class Reference

#include <AppleObjCDeclVendor.h>

Inheritance diagram for lldb_private::AppleObjCDeclVendor:
Inheritance graph
Collaboration diagram for lldb_private::AppleObjCDeclVendor:
Collaboration graph

Public Member Functions

 AppleObjCDeclVendor (ObjCLanguageRuntime &runtime)
uint32_t FindDecls (ConstString name, bool append, uint32_t max_matches, std::vector< clang::NamedDecl *> &decls) override
 Look up the set of Decls that the DeclVendor currently knows about matching a given name. More...
clang::ExternalASTMerger::ImporterSource GetImporterSource () override
 Interface for ExternalASTMerger. More...
- Public Member Functions inherited from lldb_private::DeclVendor
 DeclVendor ()
virtual ~DeclVendor ()


class AppleObjCExternalASTSource

Detailed Description

Definition at line 21 of file AppleObjCDeclVendor.h.

Constructor & Destructor Documentation

◆ AppleObjCDeclVendor()

AppleObjCDeclVendor::AppleObjCDeclVendor ( ObjCLanguageRuntime runtime)

Member Function Documentation

◆ FindDecls()

uint32_t AppleObjCDeclVendor::FindDecls ( ConstString  name,
bool  append,
uint32_t  max_matches,
std::vector< clang::NamedDecl *> &  decls 

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

[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."
The number of Decls added to decls; will not exceed max_matches.

Implements lldb_private::DeclVendor.

Definition at line 550 of file AppleObjCDeclVendor.cpp.

References lldb_private::ConstString::AsCString(), lldb_private::ASTDumper::GetCString(), lldb_private::ClangASTMetadata::GetISAPtr(), lldb_private::GetLogIfAllCategoriesSet(), lldb_private::ConstString::GetStringRef(), LIBLLDB_LOG_EXPRESSIONS, LLDB_INVALID_ADDRESS, and lldb_private::Log::Printf().

◆ GetImporterSource()

clang::ExternalASTMerger::ImporterSource AppleObjCDeclVendor::GetImporterSource ( )

Interface for ExternalASTMerger.

Returns an ImporterSource allowing type completion.

An ImporterSource for this DeclVendor.

Implements lldb_private::DeclVendor.

Definition at line 655 of file AppleObjCDeclVendor.cpp.

Friends And Related Function Documentation

◆ AppleObjCExternalASTSource

friend class AppleObjCExternalASTSource

Definition at line 30 of file AppleObjCDeclVendor.h.

Referenced by AppleObjCDeclVendor().

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