This revision was automatically updated to reflect the committed changes.
Closed by commit rL373564: factor out an abstract base class for File (authored
by lawrence_danna, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
lawrence_danna added inline comments.
Comment at: lldb/include/lldb/Host/File.h:377-381
+ template
+ static std::shared_ptr make_shared(Args... args) {
+return std::static_pointer_cast(
+std::make_shared(args...));
+ }
labath wrote:
> Please
labath added a comment.
Makes sense to me, just delete the custom make_shared stuff.
Comment at: lldb/include/lldb/Host/File.h:377-381
+ template
+ static std::shared_ptr make_shared(Args... args) {
+return std::static_pointer_cast(
+std::make_shared(args...));
lawrence_danna created this revision.
lawrence_danna added reviewers: JDevlieghere, jasonmolenda, labath.
Herald added a project: LLDB.
lawrence_danna added a parent revision: D68181: SBDebugger::SetInputFile,
SetOutputFile, etc..
lawrence_danna added a child revision: D68188: allow arbitrary