Remove unused function.

llvm-svn: 231616
This commit is contained in:
Rui Ueyama 2015-03-09 01:05:04 +00:00
parent d18a97cb7a
commit 2a08dca3f7
1 changed files with 0 additions and 12 deletions
lld/include/lld/Core

View File

@ -25,18 +25,6 @@
namespace lld {
// Copy all atoms from src to dst. Atom ownership is not transferred.
inline void copyAtoms(MutableFile *dst, File *src) {
for (const DefinedAtom *atom : src->defined())
dst->addAtom(*atom);
for (const UndefinedAtom *atom : src->undefined())
dst->addAtom(*atom);
for (const SharedLibraryAtom *atom : src->sharedLibrary())
dst->addAtom(*atom);
for (const AbsoluteAtom *atom : src->absolute())
dst->addAtom(*atom);
}
class SimpleFile : public MutableFile {
public:
SimpleFile(StringRef path) : MutableFile(path) {}