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:
parent
f927b9703e
commit
bd74fadd7b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user