From: Rafael Espindola Date: Sun, 4 Dec 2016 07:27:02 +0000 (+0000) Subject: Always use / as the path separator. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb309b5c31ecb794cb480c1728857e1bdc9a853a;p=llvm Always use / as the path separator. It is not clear if it is worth the complexity to use \ on windows. This should fix the bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288616 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 26f8d5be0a2..b99a396da62 100644 --- a/tools/llvm-ar/llvm-ar.cpp +++ b/tools/llvm-ar/llvm-ar.cpp @@ -362,7 +362,7 @@ static void doDisplayTable(StringRef Name, const object::Archive::Child &C) { if (C.getParent()->isThin()) { outs() << sys::path::parent_path(ArchiveName); - outs() << sys::path::get_separator(); + outs() << '/'; } outs() << Name << "\n"; }