[all-commits] [llvm/llvm-project] 66e06c: [llvm] [ADT] Update llvm::Split() per Pavel Labath...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Oct 22 03:28:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66e06cc8cba3c39c760082a8ed469b5292f9ee67
      https://github.com/llvm/llvm-project/commit/66e06cc8cba3c39c760082a8ed469b5292f9ee67
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M lldb/source/Host/common/File.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M llvm/include/llvm/ADT/StringExtras.h
    M llvm/lib/IR/DataLayout.cpp
    M llvm/unittests/ADT/StringExtrasTest.cpp

  Log Message:
  -----------
  [llvm] [ADT] Update llvm::Split() per Pavel Labath's suggestions

Optimize the iterator comparison logic to compare Current.data()
pointers.  Use std::tie for assignments from std::pair.  Replace
the custom class with a function returning iterator_range.

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




More information about the All-commits mailing list