forked from OSchip/llvm-project
Implement a function from PathV2 whose definition is missing.
llvm-svn: 125574
This commit is contained in:
parent
d724a109cf
commit
a61736ff90
|
@ -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) {
|
const StringRef parent_path(StringRef path) {
|
||||||
size_t end_pos = parent_path_end(path);
|
size_t end_pos = parent_path_end(path);
|
||||||
if (end_pos == StringRef::npos)
|
if (end_pos == StringRef::npos)
|
||||||
|
|
Loading…
Reference in New Issue