summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/LinkingContext.cpp
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@gmail.com>2013-12-31 19:15:42 +0000
committerJoey Gouly <joey.gouly@gmail.com>2013-12-31 19:15:42 +0000
commit0518453e2e35a7687da07b7ebb4aa5a402183811 (patch)
tree499ab010afb63c38db879e18e1b8bf2f33a338da /lld/lib/Core/LinkingContext.cpp
parente98c8cb9f02dd48e4efa7d854e191c44fbd7d8a7 (diff)
downloadbcm5719-llvm-0518453e2e35a7687da07b7ebb4aa5a402183811.tar.gz
bcm5719-llvm-0518453e2e35a7687da07b7ebb4aa5a402183811.zip
The return value of createInternalFiles is unused, so remove it.
llvm-svn: 198266
Diffstat (limited to 'lld/lib/Core/LinkingContext.cpp')
-rw-r--r--lld/lib/Core/LinkingContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp
index 8ac6f591253..8a1ef257df1 100644
--- a/lld/lib/Core/LinkingContext.cpp
+++ b/lld/lib/Core/LinkingContext.cpp
@@ -71,7 +71,7 @@ LinkingContext::createUndefinedSymbolFile(StringRef filename) const {
return std::move(undefinedSymFile);
}
-bool LinkingContext::createInternalFiles(
+void LinkingContext::createInternalFiles(
std::vector<std::unique_ptr<File> > &result) const {
std::unique_ptr<File> internalFile;
internalFile = createEntrySymbolFile();
@@ -80,7 +80,6 @@ bool LinkingContext::createInternalFiles(
internalFile = createUndefinedSymbolFile();
if (internalFile)
result.push_back(std::move(internalFile));
- return true;
}
void LinkingContext::setResolverState(uint32_t state) {
OpenPOWER on IntegriCloud