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
Paths
| Differential D88320
[Object][MachO] Refine interface of Slice ClosedPublic Authored by alexander-shaposhnikov on Sep 25 2020, 9:56 AM.
Details Summary This patch performs a minor cleanup of the class Slice: Test plan: make check-all
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 25 2020, 11:14 AM This revision was landed with ongoing or failed builds.Sep 25 2020, 4:28 PM Closed by commit rG97702c3d9234: [Object][MachO] Refine the interface of Slice (authored by alexander-shaposhnikov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 294450 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
|