[lldb] Add missing newlines after LLDB_INSTRUMENT_VA
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Aug 2022 17:49:45 +0000 (10:49 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Aug 2022 17:51:16 +0000 (10:51 -0700)
Add a newline after LLDB_INSTRUMENT_VA to match the output of lldb-instr
and keep everything consistent.

lldb/source/API/SBTraceCursor.cpp

index a98b388..f4ae31f 100644 (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();
 }