[all-commits] [llvm/llvm-project] 5f69e6: [lldb][NFCI] Timer::DumpCategoryTimes should take ...

Alex via All-commits all-commits at lists.llvm.org
Mon Jun 26 10:40:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f69e6682bf0806c13098f79cb5f1ee30f0f8c06
      https://github.com/llvm/llvm-project/commit/5f69e6682bf0806c13098f79cb5f1ee30f0f8c06
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M lldb/include/lldb/Utility/Timer.h
    M lldb/source/Commands/CommandObjectLog.cpp
    M lldb/source/Utility/Timer.cpp
    M lldb/unittests/Utility/TimerTest.cpp

  Log Message:
  -----------
  [lldb][NFCI] Timer::DumpCategoryTimes should take a reference instead of a pointer

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

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




More information about the All-commits mailing list