|
LLDB mainline
|
#include <DeclVendor.h>
Public Types | |
| enum | DeclVendorKind { 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 | |
|---|---|
| eClangModuleDeclVendor | |
| eAppleObjCDeclVendor | |
| eLastClangDeclVendor | |
Definition at line 22 of file DeclVendor.h.
|
inline |
Definition at line 28 of file DeclVendor.h.
References m_kind.
Referenced by lldb_private::AppleObjCDeclVendor::AppleObjCDeclVendor(), lldb_private::ClangModulesDeclVendor::ClangModulesDeclVendor(), lldb_private::AppleObjCDeclVendor::classof(), lldb_private::ClangModulesDeclVendor::classof(), DeclVendor(), and operator=().
|
virtualdefault |
|
privatedelete |
References DeclVendor().
|
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.
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 32 of file DeclVendor.h.
References m_kind.
Referenced by lldb_private::AppleObjCDeclVendor::classof(), and lldb_private::ClangModulesDeclVendor::classof().
|
privatedelete |
References DeclVendor().
|
private |
Definition at line 72 of file DeclVendor.h.
Referenced by DeclVendor(), and GetKind().