summaryrefslogtreecommitdiffstats
path: root/lld/include
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-06-03 08:12:33 +0000
committerRui Ueyama <ruiu@google.com>2014-06-03 08:12:33 +0000
commit009f91a9ee873d8511d8fd017a5f7a6c046b642f (patch)
tree9a780076ac352e9ea51e368a8923a74f2416950b /lld/include
parent6668b5a8b81574d6884c87b49e76231ea2c3cbb7 (diff)
downloadbcm5719-llvm-009f91a9ee873d8511d8fd017a5f7a6c046b642f.tar.gz
bcm5719-llvm-009f91a9ee873d8511d8fd017a5f7a6c046b642f.zip
Rename FileToMutable -> SimpleFileWrapper.
FileToMutable is what this class does, but this class (or, to be precise, an instance of this class) is a wrapper of the other SimpleFile. It's odd that the class was named like a function. llvm-svn: 210089
Diffstat (limited to 'lld/include')
-rw-r--r--lld/include/lld/ReaderWriter/Simple.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/include/lld/ReaderWriter/Simple.h b/lld/include/lld/ReaderWriter/Simple.h
index 03e87836c9a..58bab737c1d 100644
--- a/lld/include/lld/ReaderWriter/Simple.h
+++ b/lld/include/lld/ReaderWriter/Simple.h
@@ -66,9 +66,9 @@ protected:
atom_collection_vector<AbsoluteAtom> _absoluteAtoms;
};
-class FileToMutable : public SimpleFile {
+class SimpleFileWrapper : public SimpleFile {
public:
- FileToMutable(const LinkingContext &context, const File &file)
+ SimpleFileWrapper(const LinkingContext &context, const File &file)
: SimpleFile(file.path()) {
for (auto definedAtom : file.defined())
_definedAtoms._atoms.push_back(std::move(definedAtom));
OpenPOWER on IntegriCloud