[lld] r305877 - Remove redundant namespace specifier.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 20:05:09 PDT 2017
Author: ruiu
Date: Tue Jun 20 22:05:08 2017
New Revision: 305877
URL: http://llvm.org/viewvc/llvm-project?rev=305877&view=rev
Log:
Remove redundant namespace specifier.
Modified:
lld/trunk/ELF/Driver.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=305877&r1=305876&r2=305877&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Tue Jun 20 22:05:08 2017
@@ -200,6 +200,7 @@ void LinkerDriver::addFile(StringRef Pat
error("attempted static link of dynamic object " + Path);
return;
}
+
// DSOs usually have DT_SONAME tags in their ELF headers, and the
// sonames are used to identify DSOs. But if they are missing,
// they are identified by filenames. We don't know whether the new
@@ -210,8 +211,8 @@ void LinkerDriver::addFile(StringRef Pat
// If a file was specified by -lfoo, the directory part is not
// significant, as a user did not specify it. This behavior is
// compatible with GNU.
- Files.push_back(createSharedFile(
- MBRef, WithLOption ? sys::path::filename(Path) : Path));
+ Files.push_back(
+ createSharedFile(MBRef, WithLOption ? path::filename(Path) : Path));
return;
default:
if (InLib)
More information about the llvm-commits
mailing list