[llvm-commits] [PATCH] [lld] Add TargetInfo abstraction.
kledzik at apple.com
kledzik at apple.com
Fri Jan 18 15:55:21 PST 2013
================
Comment at: include/lld/ReaderWriter/ELFTargetInfo.h:25
@@ +24,3 @@
+
+ static std::unique_ptr<ELFTargetInfo> create(const LinkerOptions &lo);
+};
----------------
Why is there this factory method, when the constructor is also public? Do you intend for there to be hidden subclasses of ELFTargetInfo?
http://llvm-reviews.chandlerc.com/D311
More information about the llvm-commits
mailing list