diff options
Diffstat (limited to 'lld/lib/Driver/WinLinkInputGraph.cpp')
-rw-r--r-- | lld/lib/Driver/WinLinkInputGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Driver/WinLinkInputGraph.cpp b/lld/lib/Driver/WinLinkInputGraph.cpp index 918ea58632c..fd6f5b574d4 100644 --- a/lld/lib/Driver/WinLinkInputGraph.cpp +++ b/lld/lib/Driver/WinLinkInputGraph.cpp @@ -19,7 +19,7 @@ bool isCOFFLibraryFileExtension(StringRef path) { error_code PECOFFFileNode::parse(const LinkingContext &ctx, raw_ostream &diagnostics) { if (_parsed) - return error_code::success(); + return error_code(); _parsed = true; ErrorOr<StringRef> filePath = getPath(ctx); if (error_code ec = filePath.getError()) { |