[Lldb-commits] [lldb] 6a48dc0 - [lldb] Add missing newlines after LLDB_INSTRUMENT_VA

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 3 10:51:23 PDT 2022


Author: Jonas Devlieghere
Date: 2022-08-03T10:51:16-07:00
New Revision: 6a48dc092b0fda65e786021ebf75bda3e1be5c33

URL: https://github.com/llvm/llvm-project/commit/6a48dc092b0fda65e786021ebf75bda3e1be5c33
DIFF: https://github.com/llvm/llvm-project/commit/6a48dc092b0fda65e786021ebf75bda3e1be5c33.diff

LOG: [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.

Added: 
    

Modified: 
    lldb/source/API/SBTraceCursor.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/API/SBTraceCursor.cpp b/lldb/source/API/SBTraceCursor.cpp
index a98b388a17c03..f4ae31f616af2 100644
--- a/lldb/source/API/SBTraceCursor.cpp
+++ b/lldb/source/API/SBTraceCursor.cpp
@@ -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();
 }
 


        


More information about the lldb-commits mailing list