[Lldb-commits] [PATCH] D138558: [lldb][DataFormatter] Add std::ranges::ref_view formatter

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 30 06:21:34 PST 2022


Michael137 marked an inline comment as done.
Michael137 added inline comments.


================
Comment at: lldb/source/Plugins/Language/CPlusPlus/LibCxxRangesRefView.cpp:41
+private:
+  lldb::ValueObjectSP m_range_sp = nullptr; ///< Pointer to the dereferenced
+                                            ///< __range_ member
----------------
aprantl wrote:
> Personally I prefer 
> ```
> ///Pointer to the dereferenced __range_ member.
> lldb::ValueObjectSP m_range_sp = nullptr;
> ```
> for longer comments.
Done


================
Comment at: lldb/source/Plugins/Language/CPlusPlus/LibCxxRangesRefView.cpp:55
+  return 1;
+}
+
----------------
aprantl wrote:
> I wonder if it would be more readable to move those one-line function definitions into the declaration?
Looks better, done


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138558/new/

https://reviews.llvm.org/D138558



More information about the lldb-commits mailing list