LLDB mainline
|
#include <ClangDeclVendor.h>
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 |
std::vector< CompilerType > | FindTypes (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 ClangDeclVendor & | operator= (const ClangDeclVendor &)=delete |
Additional Inherited Members | |
Public Types inherited from lldb_private::DeclVendor | |
enum | DeclVendorKind { eClangDeclVendor , eClangModuleDeclVendor , eAppleObjCDeclVendor , eLastClangDeclVendor } |
Definition at line 21 of file ClangDeclVendor.h.
|
inline |
Definition at line 23 of file ClangDeclVendor.h.
References lldb_private::DeclVendor::DeclVendor().
Referenced by lldb_private::AppleObjCDeclVendor::AppleObjCDeclVendor(), ClangDeclVendor(), lldb_private::ClangModulesDeclVendor::ClangModulesDeclVendor(), and operator=().
|
overridedefault |
References lldb_private::DeclVendor::FindDecls().
|
privatedelete |
References ClangDeclVendor().
|
inlinestatic |
Definition at line 32 of file ClangDeclVendor.h.
References lldb_private::DeclVendor::DeclVendor(), lldb_private::DeclVendor::eClangDeclVendor, lldb_private::DeclVendor::eLastClangDeclVendor, and lldb_private::DeclVendor::GetKind().
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().
|
virtual |
Look up the set of Decls that the DeclVendor currently knows about matching a given name.
[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." |
Implements lldb_private::DeclVendor.
|
privatedelete |
References ClangDeclVendor().