diff options
Diffstat (limited to 'lib/Core/LinkingContext.cpp')
-rw-r--r-- | lib/Core/LinkingContext.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Core/LinkingContext.cpp b/lib/Core/LinkingContext.cpp index 2732543d306e..5de863aa7f37 100644 --- a/lib/Core/LinkingContext.cpp +++ b/lib/Core/LinkingContext.cpp @@ -8,16 +8,17 @@ //===----------------------------------------------------------------------===// #include "lld/Core/LinkingContext.h" -#include "lld/Core/Resolver.h" +#include "lld/Core/File.h" +#include "lld/Core/Node.h" #include "lld/Core/Simple.h" #include "lld/Core/Writer.h" -#include "llvm/ADT/Triple.h" +#include <algorithm> namespace lld { -LinkingContext::LinkingContext() {} +LinkingContext::LinkingContext() = default; -LinkingContext::~LinkingContext() {} +LinkingContext::~LinkingContext() = default; bool LinkingContext::validate(raw_ostream &diagnostics) { return validateImpl(diagnostics); @@ -59,7 +60,7 @@ LinkingContext::createUndefinedSymbolFile(StringRef filename) const { } void LinkingContext::createInternalFiles( - std::vector<std::unique_ptr<File> > &result) const { + std::vector<std::unique_ptr<File>> &result) const { if (std::unique_ptr<File> file = createEntrySymbolFile()) result.push_back(std::move(file)); if (std::unique_ptr<File> file = createUndefinedSymbolFile()) |