Fix hardcoded slash to native path seperator which was exposed from llvm::sys::path.

http://reviews.llvm.org/D3687



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yaron Keren
2014-05-16 13:16:30 +00:00
parent 21cfedee05
commit 0d356ec0ee
4 changed files with 14 additions and 2 deletions
+6
View File
@@ -569,6 +569,12 @@ bool is_separator(char value) {
}
}
static const char preferred_separator_string[] = { preferred_separator, '\0' };
const StringRef get_separator() {
return preferred_separator_string;
}
void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) {
result.clear();