diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2015-04-06 20:43:35 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2015-04-06 20:43:35 +0000 |
commit | c437888f5af7ab582bfb10a2159c06e07b7cbe57 (patch) | |
tree | 977538c7460e83e17e0c3ab2a7007d2c1384f188 /lld/lib/Core | |
parent | 230d2ec75f0f2431828beda6ed2d8b036215db6d (diff) | |
download | bcm5719-llvm-c437888f5af7ab582bfb10a2159c06e07b7cbe57.tar.gz bcm5719-llvm-c437888f5af7ab582bfb10a2159c06e07b7cbe57.zip |
Replace the `createImplicitFiles` method return type with `void`
All instances of the `createImplicitFiles` always return `true` and this
return value is used nowhere.
llvm-svn: 234205
Diffstat (limited to 'lld/lib/Core')
-rw-r--r-- | lld/lib/Core/LinkingContext.cpp | 6 | ||||
-rw-r--r-- | lld/lib/Core/Writer.cpp | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp index c6656b93591..30eda6bb346 100644 --- a/lld/lib/Core/LinkingContext.cpp +++ b/lld/lib/Core/LinkingContext.cpp @@ -37,9 +37,9 @@ std::error_code LinkingContext::writeFile(const File &linkedFile) const { return this->writer().writeFile(linkedFile, _outputPath); } -bool LinkingContext::createImplicitFiles( - std::vector<std::unique_ptr<File> > &result) { - return this->writer().createImplicitFiles(result); +void LinkingContext::createImplicitFiles( + std::vector<std::unique_ptr<File>> &result) { + this->writer().createImplicitFiles(result); } std::unique_ptr<File> LinkingContext::createEntrySymbolFile() const { diff --git a/lld/lib/Core/Writer.cpp b/lld/lib/Core/Writer.cpp index 39bcc9e6852..93e6438a28f 100644 --- a/lld/lib/Core/Writer.cpp +++ b/lld/lib/Core/Writer.cpp @@ -16,8 +16,4 @@ Writer::Writer() { Writer::~Writer() { } - -bool Writer::createImplicitFiles(std::vector<std::unique_ptr<File> > &) { - return true; -} } // end namespace lld |