[Lldb-commits] [lldb] 52b03b6 - [lldb][nfc] Place comment in the right place

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Thu May 25 09:53:49 PDT 2023


Author: Felipe de Azevedo Piovezan
Date: 2023-05-25T12:53:35-04:00
New Revision: 52b03b63972a75cef8cfa5e1a2b1675a04f3dbe8

URL: https://github.com/llvm/llvm-project/commit/52b03b63972a75cef8cfa5e1a2b1675a04f3dbe8
DIFF: https://github.com/llvm/llvm-project/commit/52b03b63972a75cef8cfa5e1a2b1675a04f3dbe8.diff

LOG: [lldb][nfc] Place comment in the right place

This line has been misplaced since it was introduced in 2011 by
c26e4454035a4160cffc3c865cf83be194ca38c4.

Differential Revision: https://reviews.llvm.org/D151425

Added: 
    

Modified: 
    lldb/include/lldb/Utility/RangeMap.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Utility/RangeMap.h b/lldb/include/lldb/Utility/RangeMap.h
index 49b7eebfea6f7..7632126f97ec4 100644
--- a/lldb/include/lldb/Utility/RangeMap.h
+++ b/lldb/include/lldb/Utility/RangeMap.h
@@ -42,9 +42,9 @@ template <typename B, typename S> struct Range {
     size = 0;
   }
 
-  // Set the start value for the range, and keep the same size
   BaseType GetRangeBase() const { return base; }
 
+  /// Set the start value for the range, and keep the same size
   void SetRangeBase(BaseType b) { base = b; }
 
   void Slide(BaseType slide) { base += slide; }


        


More information about the lldb-commits mailing list