summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOLinkingContext.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/MachO/MachOLinkingContext.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/MachO/MachOLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
index ef28c487593..9b5837cd45f 100644
--- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
@@ -685,7 +685,7 @@ uint32_t MachOLinkingContext::dylibCompatVersion(StringRef installName) const {
return 0x1000; // 1.0
}
-bool MachOLinkingContext::createImplicitFiles(
+void MachOLinkingContext::createImplicitFiles(
std::vector<std::unique_ptr<File> > &result) {
// Add indirect dylibs by asking each linked dylib to add its indirects.
// Iterate until no more dylibs get loaded.
@@ -699,7 +699,7 @@ bool MachOLinkingContext::createImplicitFiles(
}
// Let writer add output type specific extras.
- return writer().createImplicitFiles(result);
+ writer().createImplicitFiles(result);
}
OpenPOWER on IntegriCloud