[Lldb-commits] [PATCH] D153711: [lldb][NFCI] Timer::DumpCategoryTimes should take a reference instead of a pointer

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 24 12:33:49 PDT 2023


bulbazord created this revision.
bulbazord added reviewers: JDevlieghere, mib, fdeazeve.
Herald added a project: All.
bulbazord requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

We are assuming that the pointer is always valid, might as well take a
reference instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153711

Files:
  lldb/include/lldb/Utility/Timer.h
  lldb/source/Commands/CommandObjectLog.cpp
  lldb/source/Utility/Timer.cpp
  lldb/unittests/Utility/TimerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153711.534257.patch
Type: text/x-patch
Size: 3734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230624/105837dc/attachment.bin>


More information about the lldb-commits mailing list