[lldb] Add missing newlines after LLDB_INSTRUMENT_VA
Add a newline after LLDB_INSTRUMENT_VA to match the output of lldb-instr
and keep everything consistent.
GitOrigin-RevId: 6a48dc092b0fda65e786021ebf75bda3e1be5c33
diff --git a/source/API/SBTraceCursor.cpp b/source/API/SBTraceCursor.cpp
index a98b388..f4ae31f 100644
--- a/source/API/SBTraceCursor.cpp
+++ b/source/API/SBTraceCursor.cpp
@@ -24,36 +24,43 @@
void SBTraceCursor::SetForwards(bool forwards) {
LLDB_INSTRUMENT_VA(this, forwards);
+
m_opaque_sp->SetForwards(forwards);
}
bool SBTraceCursor::IsForwards() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->IsForwards();
}
void SBTraceCursor::Next() {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->Next();
}
bool SBTraceCursor::HasValue() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->HasValue();
}
bool SBTraceCursor::GoToId(lldb::user_id_t id) {
LLDB_INSTRUMENT_VA(this, id);
+
return m_opaque_sp->GoToId(id);
}
bool SBTraceCursor::HasId(lldb::user_id_t id) const {
LLDB_INSTRUMENT_VA(this, id);
+
return m_opaque_sp->HasId(id);
}
lldb::user_id_t SBTraceCursor::GetId() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->GetId();
}
@@ -65,41 +72,49 @@
lldb::TraceItemKind SBTraceCursor::GetItemKind() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->GetItemKind();
}
bool SBTraceCursor::IsError() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->IsError();
}
const char *SBTraceCursor::GetError() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->GetError();
}
bool SBTraceCursor::IsEvent() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->IsEvent();
}
lldb::TraceEvent SBTraceCursor::GetEventType() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->GetEventType();
}
const char *SBTraceCursor::GetEventTypeAsString() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->GetEventTypeAsString();
}
bool SBTraceCursor::IsInstruction() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->IsInstruction();
}
lldb::addr_t SBTraceCursor::GetLoadAddress() const {
LLDB_INSTRUMENT_VA(this);
+
return m_opaque_sp->GetLoadAddress();
}
@@ -111,6 +126,7 @@
bool SBTraceCursor::IsValid() const {
LLDB_INSTRUMENT_VA(this);
+
return this->operator bool();
}