summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBFile.cpp6
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 {
OpenPOWER on IntegriCloud