summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2015-04-06 20:43:35 +0000
committerSimon Atanasyan <simon@atanasyan.com>2015-04-06 20:43:35 +0000
commitc437888f5af7ab582bfb10a2159c06e07b7cbe57 (patch)
tree977538c7460e83e17e0c3ab2a7007d2c1384f188 /lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
parent230d2ec75f0f2431828beda6ed2d8b036215db6d (diff)
downloadbcm5719-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/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp b/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
index 6a657e33541..ebd42f8cf71 100644
--- a/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
@@ -137,7 +137,7 @@ void PECOFFLinkingContext::addLibraryFile(std::unique_ptr<FileNode> file) {
currentGroupEnd->getSize() + 1);
}
-bool PECOFFLinkingContext::createImplicitFiles(
+void PECOFFLinkingContext::createImplicitFiles(
std::vector<std::unique_ptr<File>> &) {
std::vector<std::unique_ptr<Node>> &members = getNodes();
@@ -160,8 +160,6 @@ bool PECOFFLinkingContext::createImplicitFiles(
std::unique_ptr<FileNode> exportNode(new FileNode(
llvm::make_unique<pecoff::ExportedSymbolRenameFile>(*this)));
addLibraryFile(std::move(exportNode));
-
- return true;
}
/// Returns the section name in the resulting executable.
OpenPOWER on IntegriCloud