summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBType.cpp')
-rw-r--r--lldb/source/API/SBType.cpp119
1 files changed, 1 insertions, 118 deletions
diff --git a/lldb/source/API/SBType.cpp b/lldb/source/API/SBType.cpp
index b95edc62d56b..f3789fafc872 100644
--- a/lldb/source/API/SBType.cpp
+++ b/lldb/source/API/SBType.cpp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "lldb/API/SBType.h"
-#include "SBReproducerPrivate.h"
+#include "lldb/Utility/ReproducerInstrumentation.h"
#include "lldb/API/SBDefines.h"
#include "lldb/API/SBModule.h"
#include "lldb/API/SBStream.h"
@@ -920,120 +920,3 @@ TypeMemberFunctionImpl &SBTypeMemberFunction::ref() {
const TypeMemberFunctionImpl &SBTypeMemberFunction::ref() const {
return *m_opaque_sp.get();
}
-
-namespace lldb_private {
-namespace repro {
-
-template <>
-void RegisterMethods<SBType>(Registry &R) {
- LLDB_REGISTER_CONSTRUCTOR(SBType, ());
- LLDB_REGISTER_CONSTRUCTOR(SBType, (const lldb::SBType &));
- LLDB_REGISTER_METHOD(bool, SBType, operator==,(lldb::SBType &));
- LLDB_REGISTER_METHOD(bool, SBType, operator!=,(lldb::SBType &));
- LLDB_REGISTER_METHOD(lldb::SBType &,
- SBType, operator=,(const lldb::SBType &));
- LLDB_REGISTER_METHOD_CONST(bool, SBType, IsValid, ());
- LLDB_REGISTER_METHOD_CONST(bool, SBType, operator bool, ());
- LLDB_REGISTER_METHOD(uint64_t, SBType, GetByteSize, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsPointerType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsArrayType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsVectorType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsReferenceType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetPointerType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetPointeeType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetReferenceType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetTypedefedType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetDereferencedType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetArrayElementType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetArrayType, (uint64_t));
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetVectorElementType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsFunctionType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsPolymorphicClass, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsTypedefType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsAnonymousType, ());
- LLDB_REGISTER_METHOD(bool, SBType, IsScopedEnumerationType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetFunctionReturnType, ());
- LLDB_REGISTER_METHOD(lldb::SBTypeList, SBType, GetFunctionArgumentTypes,
- ());
- LLDB_REGISTER_METHOD(uint32_t, SBType, GetNumberOfMemberFunctions, ());
- LLDB_REGISTER_METHOD(lldb::SBTypeMemberFunction, SBType,
- GetMemberFunctionAtIndex, (uint32_t));
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetUnqualifiedType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetCanonicalType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetEnumerationIntegerType, ());
- LLDB_REGISTER_METHOD(lldb::BasicType, SBType, GetBasicType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetBasicType, (lldb::BasicType));
- LLDB_REGISTER_METHOD(uint32_t, SBType, GetNumberOfDirectBaseClasses, ());
- LLDB_REGISTER_METHOD(uint32_t, SBType, GetNumberOfVirtualBaseClasses, ());
- LLDB_REGISTER_METHOD(uint32_t, SBType, GetNumberOfFields, ());
- LLDB_REGISTER_METHOD(bool, SBType, GetDescription,
- (lldb::SBStream &, lldb::DescriptionLevel));
- LLDB_REGISTER_METHOD(lldb::SBTypeMember, SBType, GetDirectBaseClassAtIndex,
- (uint32_t));
- LLDB_REGISTER_METHOD(lldb::SBTypeMember, SBType, GetVirtualBaseClassAtIndex,
- (uint32_t));
- LLDB_REGISTER_METHOD(lldb::SBTypeEnumMemberList, SBType, GetEnumMembers,
- ());
- LLDB_REGISTER_METHOD(lldb::SBTypeMember, SBType, GetFieldAtIndex,
- (uint32_t));
- LLDB_REGISTER_METHOD(bool, SBType, IsTypeComplete, ());
- LLDB_REGISTER_METHOD(uint32_t, SBType, GetTypeFlags, ());
- LLDB_REGISTER_METHOD(lldb::SBModule, SBType, GetModule, ());
- LLDB_REGISTER_METHOD(const char *, SBType, GetName, ());
- LLDB_REGISTER_METHOD(const char *, SBType, GetDisplayTypeName, ());
- LLDB_REGISTER_METHOD(lldb::TypeClass, SBType, GetTypeClass, ());
- LLDB_REGISTER_METHOD(uint32_t, SBType, GetNumberOfTemplateArguments, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBType, GetTemplateArgumentType,
- (uint32_t));
- LLDB_REGISTER_METHOD(lldb::TemplateArgumentKind, SBType,
- GetTemplateArgumentKind, (uint32_t));
- LLDB_REGISTER_CONSTRUCTOR(SBTypeList, ());
- LLDB_REGISTER_CONSTRUCTOR(SBTypeList, (const lldb::SBTypeList &));
- LLDB_REGISTER_METHOD(bool, SBTypeList, IsValid, ());
- LLDB_REGISTER_METHOD_CONST(bool, SBTypeList, operator bool, ());
- LLDB_REGISTER_METHOD(lldb::SBTypeList &,
- SBTypeList, operator=,(const lldb::SBTypeList &));
- LLDB_REGISTER_METHOD(void, SBTypeList, Append, (lldb::SBType));
- LLDB_REGISTER_METHOD(lldb::SBType, SBTypeList, GetTypeAtIndex, (uint32_t));
- LLDB_REGISTER_METHOD(uint32_t, SBTypeList, GetSize, ());
- LLDB_REGISTER_CONSTRUCTOR(SBTypeMember, ());
- LLDB_REGISTER_CONSTRUCTOR(SBTypeMember, (const lldb::SBTypeMember &));
- LLDB_REGISTER_METHOD(lldb::SBTypeMember &,
- SBTypeMember, operator=,(const lldb::SBTypeMember &));
- LLDB_REGISTER_METHOD_CONST(bool, SBTypeMember, IsValid, ());
- LLDB_REGISTER_METHOD_CONST(bool, SBTypeMember, operator bool, ());
- LLDB_REGISTER_METHOD(const char *, SBTypeMember, GetName, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBTypeMember, GetType, ());
- LLDB_REGISTER_METHOD(uint64_t, SBTypeMember, GetOffsetInBytes, ());
- LLDB_REGISTER_METHOD(uint64_t, SBTypeMember, GetOffsetInBits, ());
- LLDB_REGISTER_METHOD(bool, SBTypeMember, IsBitfield, ());
- LLDB_REGISTER_METHOD(uint32_t, SBTypeMember, GetBitfieldSizeInBits, ());
- LLDB_REGISTER_METHOD(bool, SBTypeMember, GetDescription,
- (lldb::SBStream &, lldb::DescriptionLevel));
- LLDB_REGISTER_CONSTRUCTOR(SBTypeMemberFunction, ());
- LLDB_REGISTER_CONSTRUCTOR(SBTypeMemberFunction,
- (const lldb::SBTypeMemberFunction &));
- LLDB_REGISTER_METHOD(
- lldb::SBTypeMemberFunction &,
- SBTypeMemberFunction, operator=,(const lldb::SBTypeMemberFunction &));
- LLDB_REGISTER_METHOD_CONST(bool, SBTypeMemberFunction, IsValid, ());
- LLDB_REGISTER_METHOD_CONST(bool, SBTypeMemberFunction, operator bool, ());
- LLDB_REGISTER_METHOD(const char *, SBTypeMemberFunction, GetName, ());
- LLDB_REGISTER_METHOD(const char *, SBTypeMemberFunction, GetDemangledName,
- ());
- LLDB_REGISTER_METHOD(const char *, SBTypeMemberFunction, GetMangledName,
- ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBTypeMemberFunction, GetType, ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBTypeMemberFunction, GetReturnType, ());
- LLDB_REGISTER_METHOD(uint32_t, SBTypeMemberFunction, GetNumberOfArguments,
- ());
- LLDB_REGISTER_METHOD(lldb::SBType, SBTypeMemberFunction,
- GetArgumentTypeAtIndex, (uint32_t));
- LLDB_REGISTER_METHOD(lldb::MemberFunctionKind, SBTypeMemberFunction,
- GetKind, ());
- LLDB_REGISTER_METHOD(bool, SBTypeMemberFunction, GetDescription,
- (lldb::SBStream &, lldb::DescriptionLevel));
-}
-
-}
-}