[PATCH] D26734: [ELF] Don't replace path separators on *NIX

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 08:05:45 PST 2016


rafael added inline comments.


================
Comment at: lib/Core/Reproduce.cpp:55
 // both unix and windows.
+#ifdef LLVM_ON_WIN32
 static void convertToUnixPathSeparator(SmallString<128> &Path) {
----------------
Move the ifdef inside the function so that we only need one.


https://reviews.llvm.org/D26734





More information about the llvm-commits mailing list