diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-04 17:49:34 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-04 18:20:20 -0800 |
commit | 6ee96ddec89774a534ec93de7266a0bf38de07e8 (patch) | |
tree | c81ed41e8ee81961adc1bfea6abfd8264274d2e2 /lldb/source/API | |
parent | 3d43c73f26f2ef3ce8c972d1dfe7013571a01bbc (diff) | |
download | bcm5719-llvm-6ee96ddec89774a534ec93de7266a0bf38de07e8.tar.gz bcm5719-llvm-6ee96ddec89774a534ec93de7266a0bf38de07e8.zip |
[lldb/Reproducers] Add missing instrumentation for SBFile (2/2)
Found another issue while running TestDefaultConstructorForAPIObjects.
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/SBFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/API/SBFile.cpp b/lldb/source/API/SBFile.cpp index 215e82cd46a..277402f31ab 100644 --- a/lldb/source/API/SBFile.cpp +++ b/lldb/source/API/SBFile.cpp @@ -100,17 +100,17 @@ SBError SBFile::Close() { SBFile::operator bool() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, operator bool); - return LLDB_RECORD_RESULT(IsValid()); + return IsValid(); } bool SBFile::operator!() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, operator!); - return LLDB_RECORD_RESULT(!IsValid()); + return !IsValid(); } FileSP SBFile::GetFile() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(FileSP, SBFile, GetFile); - return m_opaque_sp; + return LLDB_RECORD_RESULT(m_opaque_sp); } namespace lldb_private { |