[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.
This commit is contained in:
Jonas Devlieghere 2022-08-03 10:49:45 -07:00
parent 10a7ee0bac
commit 6a48dc092b
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
1 changed files with 16 additions and 0 deletions

View File

@ -24,36 +24,43 @@ SBTraceCursor::SBTraceCursor(TraceCursorSP trace_cursor_sp)
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 @@ bool SBTraceCursor::Seek(int64_t offset, lldb::TraceCursorSeekType origin) {
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 @@ lldb::cpu_id_t SBTraceCursor::GetCPU() const {
bool SBTraceCursor::IsValid() const {
LLDB_INSTRUMENT_VA(this);
return this->operator bool();
}