Have writeCOFFWriter return Expected<unique_ptr> instead of requiring being passed an uninitialized unique_ptr.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 7328 Build 7328: arc lint + arc unit
Paths
| Differential D34307
Have writeCOFFWriter return Expected<unique_ptr>. ClosedPublic Authored by ecbeckmann on Jun 16 2017, 5:30 PM.
Details Summary Have writeCOFFWriter return Expected<unique_ptr> instead of requiring being passed an uninitialized unique_ptr.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jun 16 2017, 7:12 PM Closed by commit rL305730: Have writeCOFFWriter return Expected<unique_ptr>. (authored by ecbeckmann). · Explain WhyJun 19 2017, 11:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 102929 lld/COFF/DriverUtils.cpp
llvm/include/llvm/Object/WindowsResource.h
llvm/lib/Object/WindowsResource.cpp
llvm/tools/llvm-cvtres/llvm-cvtres.cpp
|
Do you have to explicitly delete these copy ctors?