[all-commits] [llvm/llvm-project] 97702c: [Object][MachO] Refine the interface of Slice

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Fri Sep 25 16:28:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 97702c3d9234ddc7dd39d4d107c8bec8765746ce
      https://github.com/llvm/llvm-project/commit/97702c3d9234ddc7dd39d4d107c8bec8765746ce
  Author: Alexander Shaposhnikov <alexshap at fb.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Object/MachOUniversalWriter.h
    M llvm/lib/Object/MachOUniversalWriter.cpp
    M llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
    M llvm/tools/llvm-lipo/llvm-lipo.cpp

  Log Message:
  -----------
  [Object][MachO] Refine the interface of Slice

This patch performs a minor cleanup of the class Slice:
static methods and constructors which take a pointer but assume that
it's not null now take the argument by reference.
NFC.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D88320




More information about the All-commits mailing list