mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:40:38 +00:00
Fix linux build.
llvm-svn: 298007
This commit is contained in:
parent
333f09d827
commit
0e80c85b5e
@ -486,7 +486,8 @@ static void expandTildeExpr(SmallVectorImpl<char> &Path) {
|
||||
return;
|
||||
|
||||
PathStr = PathStr.drop_front();
|
||||
StringRef Expr = PathStr.take_until(path::is_separator);
|
||||
StringRef Expr =
|
||||
PathStr.take_until([](char c) { return path::is_separator(c); });
|
||||
StringRef Remainder = PathStr.substr(Expr.size() + 1);
|
||||
SmallString<128> Storage;
|
||||
if (Expr.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user