diff options
Diffstat (limited to 'lldb/source/API/SBFile.cpp')
-rw-r--r-- | lldb/source/API/SBFile.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/lldb/source/API/SBFile.cpp b/lldb/source/API/SBFile.cpp index 41ccdbe76b91..a6249dddd9a6 100644 --- a/lldb/source/API/SBFile.cpp +++ b/lldb/source/API/SBFile.cpp @@ -7,7 +7,7 @@ //===----------------------------------------------------------------------===// #include "lldb/API/SBFile.h" -#include "SBReproducerPrivate.h" +#include "lldb/Utility/ReproducerInstrumentation.h" #include "lldb/API/SBError.h" #include "lldb/Host/File.h" @@ -132,27 +132,3 @@ FileSP SBFile::GetFile() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(FileSP, SBFile, GetFile); return LLDB_RECORD_RESULT(m_opaque_sp); } - -namespace lldb_private { -namespace repro { - -template <> void RegisterMethods<SBFile>(Registry &R) { - LLDB_REGISTER_CONSTRUCTOR(SBFile, ()); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (FileSP)); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (const SBFile&)); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (FILE *, bool)); - LLDB_REGISTER_CONSTRUCTOR(SBFile, (int, const char *, bool)); - LLDB_REGISTER_METHOD(SBFile&, SBFile, operator=,(const SBFile&)); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Flush, ()); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Read, - (uint8_t *, size_t, size_t *)); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Write, - (const uint8_t *, size_t, size_t *)); - LLDB_REGISTER_METHOD_CONST(bool, SBFile, IsValid, ()); - LLDB_REGISTER_METHOD_CONST(bool, SBFile, operator bool,()); - LLDB_REGISTER_METHOD_CONST(bool, SBFile, operator!,()); - LLDB_REGISTER_METHOD_CONST(FileSP, SBFile, GetFile, ()); - LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Close, ()); -} -} // namespace repro -} // namespace lldb_private |