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]
Collaboration diagram for lldb_private::ClangDeclVendor:
Collaboration graph
[legend]

Public Member Functions

 ClangDeclVendor (DeclVendorKind kind)
 
virtual ~ClangDeclVendor ()=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. More...
 
- 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. More...
 
std::vector< CompilerTypeFindTypes (ConstString name, uint32_t max_matches)
 Look up the types that the DeclVendor currently knows about matching a given name. More...
 

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()

virtual lldb_private::ClangDeclVendor::~ClangDeclVendor ( )
virtualdefault

◆ 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 lldb_private::ClangUtil::GetDecl().

◆ FindDecls() [2/2]

virtual uint32_t lldb_private::DeclVendor::FindDecls

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.

◆ operator=()

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

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