1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Implement a function from PathV2 whose definition is missing.

llvm-svn: 125574
This commit is contained in:
Argyrios Kyrtzidis 2011-02-15 17:51:19 +00:00
parent f927b9703e
commit bd74fadd7b

View File

@ -391,6 +391,12 @@ void append(SmallVectorImpl<char> &path, const Twine &a,
}
}
void append(SmallVectorImpl<char> &path,
const_iterator begin, const_iterator end) {
for (; begin != end; ++begin)
path::append(path, *begin);
}
const StringRef parent_path(StringRef path) {
size_t end_pos = parent_path_end(path);
if (end_pos == StringRef::npos)