LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
lldb_private::ClangDeclVendor Class Reference

#include <ClangDeclVendor.h>

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

Public Member Functions

 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.
 
- Public Member Functions inherited from lldb_private::DeclVendor
 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< CompilerTypeFindTypes (ConstString name, uint32_t max_matches)
 Look up the types that the DeclVendor currently knows about matching a given name.
 

Static Public Member Functions

static bool classof (const DeclVendor *vendor)
 

Private Member Functions

 ClangDeclVendor (const ClangDeclVendor &)=delete
 
const ClangDeclVendoroperator= (const ClangDeclVendor &)=delete
 

Additional Inherited Members

- Public Types inherited from lldb_private::DeclVendor
enum  DeclVendorKind { eClangDeclVendor , eClangModuleDeclVendor , eAppleObjCDeclVendor , eLastClangDeclVendor }
 

Detailed Description

Definition at line 21 of file ClangDeclVendor.h.

Constructor & Destructor Documentation

◆ ClangDeclVendor() [1/2]

lldb_private::ClangDeclVendor::ClangDeclVendor ( DeclVendorKind  kind)
inline

Definition at line 23 of file ClangDeclVendor.h.

◆ ~ClangDeclVendor()

lldb_private::ClangDeclVendor::~ClangDeclVendor ( )
overridedefault

◆ ClangDeclVendor() [2/2]

lldb_private::ClangDeclVendor::ClangDeclVendor ( const ClangDeclVendor )
privatedelete

Member Function Documentation

◆ classof()

static bool lldb_private::ClangDeclVendor::classof ( const DeclVendor vendor)
inlinestatic

◆ FindDecls() [1/2]

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

Definition at line 17 of file ClangDeclVendor.cpp.

References FindDecls(), and lldb_private::ClangUtil::GetDecl().

Referenced by FindDecls().

◆ FindDecls() [2/2]

virtual uint32_t lldb_private::DeclVendor::FindDecls ( ConstString  name,
bool  append,
uint32_t  max_matches,
std::vector< CompilerDecl > &  decls 
)
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.

Implements lldb_private::DeclVendor.

◆ operator=()

const ClangDeclVendor & lldb_private::ClangDeclVendor::operator= ( const ClangDeclVendor )
privatedelete

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