summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-03-09 01:05:04 +0000
committerRui Ueyama <ruiu@google.com>2015-03-09 01:05:04 +0000
commit2a08dca3f719f207ead372bc0b635c757efd41c6 (patch)
tree653f13c649a54173660486f074e85c487c698cc6
parentd18a97cb7a0fe8cac4fc33020e3033cc23d45da8 (diff)
downloadbcm5719-llvm-2a08dca3f719f207ead372bc0b635c757efd41c6.tar.gz
bcm5719-llvm-2a08dca3f719f207ead372bc0b635c757efd41c6.zip
Remove unused function.
llvm-svn: 231616
-rw-r--r--lld/include/lld/Core/Simple.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lld/include/lld/Core/Simple.h b/lld/include/lld/Core/Simple.h
index 119842ac151..e193f70218c 100644
--- a/lld/include/lld/Core/Simple.h
+++ b/lld/include/lld/Core/Simple.h
@@ -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) {}
OpenPOWER on IntegriCloud