diff options
Diffstat (limited to 'lld/lib/Driver/InputGraph.cpp')
| -rw-r--r-- | lld/lib/Driver/InputGraph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Driver/InputGraph.cpp b/lld/lib/Driver/InputGraph.cpp index 4d19fbc43ac..eaf02eb24ad 100644 --- a/lld/lib/Driver/InputGraph.cpp +++ b/lld/lib/Driver/InputGraph.cpp @@ -107,9 +107,9 @@ FileNode::readFile(const LinkingContext &ctx, raw_ostream &diagnostics, return make_error_code(llvm::errc::no_such_file_or_directory); // Create a memory buffer - OwningPtr<llvm::MemoryBuffer> opmb; + OwningPtr<MemoryBuffer> opmb; - if (error_code ec = llvm::MemoryBuffer::getFileOrSTDIN(*filePath, opmb)) + if (error_code ec = MemoryBuffer::getFileOrSTDIN(*filePath, opmb)) return ec; std::unique_ptr<MemoryBuffer> mb(opmb.take()); |

