[PATCH] D88320: [Object][MachO] Refine interface of Slice

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 09:56:43 PDT 2020


alexshap created this revision.
alexshap added reviewers: MaskRay, jhenderson, smeenai.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
alexshap requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88320

Files:
  llvm/include/llvm/Object/MachOUniversalWriter.h
  llvm/lib/Object/MachOUniversalWriter.cpp
  llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
  llvm/tools/llvm-lipo/llvm-lipo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88320.294354.patch
Type: text/x-patch
Size: 8941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200925/953f5dd8/attachment.bin>


More information about the llvm-commits mailing list