LLDB mainline
|
#include <DeclVendor.h>
Public Types | |
enum | DeclVendorKind { eClangDeclVendor , eClangModuleDeclVendor , eAppleObjCDeclVendor , eLastClangDeclVendor } |
Public Member Functions | |
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< CompilerType > | FindTypes (ConstString name, uint32_t max_matches) |
Look up the types that the DeclVendor currently knows about matching a given name. | |
Private Member Functions | |
DeclVendor (const DeclVendor &)=delete | |
const DeclVendor & | operator= (const DeclVendor &)=delete |
Private Attributes | |
const DeclVendorKind | m_kind |
Definition at line 20 of file DeclVendor.h.
Enumerator | |
---|---|
eClangDeclVendor | |
eClangModuleDeclVendor | |
eAppleObjCDeclVendor | |
eLastClangDeclVendor |
Definition at line 22 of file DeclVendor.h.
|
inline |
Definition at line 29 of file DeclVendor.h.
|
virtualdefault |
|
privatedelete |
|
pure 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." |
Implemented in lldb_private::AppleObjCDeclVendor, and lldb_private::ClangDeclVendor.
Referenced by FindTypes().
std::vector< CompilerType > DeclVendor::FindTypes | ( | ConstString | name, |
uint32_t | max_matches | ||
) |
Look up the types that the DeclVendor currently knows about matching a given name.
[in] | name | The name to look for. |
[in] | max_matches |
Definition at line 18 of file DeclVendor.cpp.
References FindDecls().
Referenced by lldb_private::AppleObjCTypeEncodingParser::BuildObjCObjectPointerType().
|
inline |
Definition at line 33 of file DeclVendor.h.
References m_kind.
Referenced by lldb_private::ClangDeclVendor::classof(), lldb_private::ClangModulesDeclVendor::classof(), and lldb_private::AppleObjCDeclVendor::classof().
|
privatedelete |
|
private |
Definition at line 73 of file DeclVendor.h.
Referenced by GetKind().