[lld] r286712 - [ELF] - Fixed comment. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 22:27:43 PST 2016


Author: grimar
Date: Sat Nov 12 00:27:42 2016
New Revision: 286712

URL: http://llvm.org/viewvc/llvm-project?rev=286712&view=rev
Log:
[ELF] - Fixed comment. NFC.

Modified:
    lld/trunk/lib/Core/Reproduce.cpp

Modified: lld/trunk/lib/Core/Reproduce.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Reproduce.cpp?rev=286712&r1=286711&r2=286712&view=diff
==============================================================================
--- lld/trunk/lib/Core/Reproduce.cpp (original)
+++ lld/trunk/lib/Core/Reproduce.cpp Sat Nov 12 00:27:42 2016
@@ -79,7 +79,7 @@ void CpioFile::append(StringRef Path, St
 // Makes a given pathname an absolute path first, and then remove
 // beginning /. For example, "../foo.o" is converted to "home/john/foo.o",
 // assuming that the current directory is "/home/john/bar".
-// Returned string is a backslash-separated path even on Windows to avoid
+// Returned string is a forward slash separated path even on Windows to avoid
 // a mess with backslash-as-escape and backslash-as-path-separator.
 std::string lld::relativeToRoot(StringRef Path) {
   SmallString<128> Abs = Path;




More information about the llvm-commits mailing list